diff options
author | Moonchild <moonchild@palemoon.org> | 2022-02-20 22:00:59 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2022-04-22 13:58:16 +0000 |
commit | 5aa65d2aeab36ea8de8129c0babcf70a5e4e662a (patch) | |
tree | 36ed652ffb09104d8a10c01261b851329f34882f /js/src/wasm | |
parent | 712ca7303b0835772f8abca85ebec981e254a017 (diff) | |
download | uxp-5aa65d2aeab36ea8de8129c0babcf70a5e4e662a.tar.gz |
Issue #1877 - Resolve NIGHTLY_BUILD conditionals.
Diffstat (limited to 'js/src/wasm')
-rw-r--r-- | js/src/wasm/AsmJS.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/js/src/wasm/AsmJS.cpp b/js/src/wasm/AsmJS.cpp index f659c27ffa..8cbbff5370 100644 --- a/js/src/wasm/AsmJS.cpp +++ b/js/src/wasm/AsmJS.cpp @@ -1,6 +1,7 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- * * Copyright 2014 Mozilla Foundation + * Copyright 2022 Moonchild Productions * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -8546,9 +8547,7 @@ LookupAsmJSModuleInCache(ExclusiveContext* cx, AsmJSParser& parser, bool* loaded // Don't punish release users by crashing if there is a programmer error // here, just gracefully return with a cache miss. -#ifdef NIGHTLY_BUILD - MOZ_RELEASE_ASSERT(cursor == entry.memory + entry.serializedSize); -#endif + MOZ_ASSERT(cursor == entry.memory + entry.serializedSize); if (cursor != entry.memory + entry.serializedSize) return true; |