mirror of
https://github.com/roytam1/UXP.git
synced 2026-05-29 07:31:21 +00:00
Issue #1611 - Enable WASM by default but only enable jit when 64bit
This commit is contained in:
@@ -1265,8 +1265,14 @@ pref("javascript.options.unboxed_objects", false);
|
||||
pref("javascript.options.baselinejit", true);
|
||||
pref("javascript.options.ion", true);
|
||||
pref("javascript.options.asmjs", true);
|
||||
pref("javascript.options.wasm", false);
|
||||
pref("javascript.options.wasm", true);
|
||||
// wasm jit crashes in 32bit builds because of 64bit casts so
|
||||
// only enable it by default for 64bit builds
|
||||
#ifdef HAVE_64BIT_BUILD
|
||||
pref("javascript.options.wasm_baselinejit", true);
|
||||
#else
|
||||
pref("javascript.options.wasm_baselinejit", false);
|
||||
#endif
|
||||
pref("javascript.options.native_regexp", true);
|
||||
pref("javascript.options.parallel_parsing", true);
|
||||
// ayncstack is used for debugging promises in devtools.
|
||||
|
||||
Reference in New Issue
Block a user