Issue #3049 - Enable loongarch64 Ion backend build and runtime

This commit is contained in:
Basilisk-Dev 2026-04-24 15:36:36 -04:00 committed by wuggy
commit 81e98512a9
12 changed files with 337 additions and 25 deletions

View file

@ -1421,8 +1421,7 @@ ReloadPrefsCallback(const char* pref, void* data)
bool useNativeRegExp = Preferences::GetBool(JS_OPTIONS_DOT_STR "native_regexp") && !safeMode;
#if defined(JS_CODEGEN_LOONGARCH64)
// The loongarch64 port is baseline-only for now.
useIon = false;
// asm.js, wasm, and native regexp JIT are still disabled on loongarch64.
useAsmJS = false;
useWasm = false;
useWasmBaseline = false;