mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
Issue #3049 - Re-enable loongarch64 asm.js and native regexp
This commit is contained in:
parent
11c7117a26
commit
2a171ff52a
5 changed files with 3 additions and 32 deletions
|
|
@ -1263,11 +1263,6 @@ pref("javascript.options.strict.debug", false);
|
|||
#endif
|
||||
pref("javascript.options.unboxed_objects", false);
|
||||
pref("javascript.options.baselinejit", true);
|
||||
#if defined(JS_CODEGEN_LOONGARCH64)
|
||||
pref("javascript.options.ion", true);
|
||||
pref("javascript.options.asmjs", false);
|
||||
pref("javascript.options.wasm", true);
|
||||
#else
|
||||
pref("javascript.options.ion", true);
|
||||
// JIT warm-up thresholds (-1 keeps engine defaults).
|
||||
// Lower values can improve sustained throughput on large script bundles
|
||||
|
|
@ -1276,24 +1271,15 @@ pref("javascript.options.baselinejit.threshold", 6);
|
|||
pref("javascript.options.ion.threshold", 50);
|
||||
pref("javascript.options.asmjs", true);
|
||||
pref("javascript.options.wasm", true);
|
||||
#endif
|
||||
pref("javascript.options.ion.inlining", true);
|
||||
// wasm jit crashes in 32bit builds because of 64bit casts so
|
||||
// only enable it by default for 64bit builds
|
||||
#ifdef HAVE_64BIT_BUILD
|
||||
# if defined(JS_CODEGEN_LOONGARCH64)
|
||||
pref("javascript.options.wasm_baselinejit", true);
|
||||
# else
|
||||
pref("javascript.options.wasm_baselinejit", true);
|
||||
# endif
|
||||
#else
|
||||
pref("javascript.options.wasm_baselinejit", false);
|
||||
#endif
|
||||
#ifdef JS_CODEGEN_LOONGARCH64
|
||||
pref("javascript.options.native_regexp", false);
|
||||
#else
|
||||
pref("javascript.options.native_regexp", true);
|
||||
#endif
|
||||
pref("javascript.options.parallel_parsing", true);
|
||||
// asyncstack is used for debugging promises in devtools.
|
||||
pref("javascript.options.asyncstack", false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue