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

@ -295,10 +295,9 @@ LoadContextOptions(const char* aPrefName, void* /* aClosure */)
bool useIon = GetWorkerPref<bool>(NS_LITERAL_CSTRING("ion"));
#if defined(JS_CODEGEN_LOONGARCH64)
// The loongarch64 port is baseline-only for now.
// asm.js and wasm are still disabled on loongarch64 workers.
useAsmJS = false;
useWasm = false;
useIon = false;
#endif
bool useNativeRegExp = GetWorkerPref<bool>(NS_LITERAL_CSTRING("native_regexp"));