mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-27 01:38:39 +09:00
Issue #3049 - Disable unsupported JIT features in loongarch64 contexts
This commit is contained in:
parent
a3d0442265
commit
08d7b89ee5
3 changed files with 33 additions and 4 deletions
|
|
@ -1420,6 +1420,14 @@ ReloadPrefsCallback(const char* pref, void* data)
|
|||
"throw_on_asmjs_validation_failure");
|
||||
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;
|
||||
useAsmJS = false;
|
||||
useWasm = false;
|
||||
useWasmBaseline = false;
|
||||
#endif
|
||||
|
||||
bool parallelParsing = Preferences::GetBool(JS_OPTIONS_DOT_STR "parallel_parsing");
|
||||
bool offthreadIonCompilation = Preferences::GetBool(JS_OPTIONS_DOT_STR
|
||||
"ion.offthread_compilation");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue