summaryrefslogtreecommitdiff
path: root/js/src/wasm/WasmBaselineCompile.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2022-03-02 20:07:06 +0000
committerMoonchild <moonchild@palemoon.org>2022-03-02 20:07:06 +0000
commit872bfa373ddfc184e17caf1ba38dbb02ed9c37f0 (patch)
tree1d8272b66c35248b34d2df6f172c10a9ed1c57d3 /js/src/wasm/WasmBaselineCompile.cpp
parent904aa57090afbadb92438be951ddd1a2ba17a900 (diff)
downloadGRE-872bfa373ddfc184e17caf1ba38dbb02ed9c37f0.tar.gz
Issue #15 - Part 3: Remove more old gcc compiler hacks.
Diffstat (limited to 'js/src/wasm/WasmBaselineCompile.cpp')
-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 d4849f3d1..7a905ecbe 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 {