summaryrefslogtreecommitdiff
path: root/js/src/wasm
diff options
context:
space:
mode:
authortrav90 <travawine@palemoon.org>2022-04-14 09:14:21 -0500
committertrav90 <travawine@palemoon.org>2022-04-15 08:30:25 -0500
commit41fc1ccf4dfd91f17cf7cff804589a235a295159 (patch)
tree76b8434b9cec5b85fe254c4c20005fe1b0b91b4b /js/src/wasm
parent7abed0e35276b50c01c65501d22890d933b3bc56 (diff)
downloaduxp-41fc1ccf4dfd91f17cf7cff804589a235a295159.tar.gz
Issue #1818 - Part 3: Remove more old gcc compiler hacks.
Diffstat (limited to 'js/src/wasm')
-rw-r--r--js/src/wasm/WasmBaselineCompile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/wasm/WasmBaselineCompile.cpp b/js/src/wasm/WasmBaselineCompile.cpp
index d4849f3d1d..7a905ecbea 100644
--- a/js/src/wasm/WasmBaselineCompile.cpp
+++ b/js/src/wasm/WasmBaselineCompile.cpp
@@ -387,9 +387,9 @@ class BaseCompiler
#endif
case NONE:
MOZ_CRASH("AnyReg::any() on NONE");
+ default:
+ return AnyRegister();
}
- // Work around GCC 5 analysis/warning bug.
- MOZ_CRASH("AnyReg::any(): impossible case");
}
union {