diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp index 733ad48f99..37afea41de 100644 --- a/js/src/wasm/WasmSignalHandlers.cpp +++ b/js/src/wasm/WasmSignalHandlers.cpp @@ -1358,6 +1358,13 @@ ProcessHasSignalHandlers() # endif #endif +#if defined(JS_CODEGEN_LOONGARCH64) + // The loongarch64 port is baseline-only for now: no wasm compiler support + // and no Ion interrupt machinery that depends on these process-wide + // signal handlers. Keeping them installed risks misrouting ordinary faults. + return false; +#endif + // The interrupt handler allows the main thread to be paused from another // thread (see InterruptRunningJitCode). #if defined(XP_WIN)