summaryrefslogtreecommitdiffstats
path: root/modules/libpref/init
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-12-03 13:56:36 +0000
committerMoonchild <moonchild@palemoon.org>2020-12-03 13:56:36 +0000
commit1a21b526928b0c5815aa3910499ac980714fa25b (patch)
tree4af73d6b72211a61873abfdb63564c7f26f73257 /modules/libpref/init
parent7f619fa9bfe5ff80b2244352c1f830fa3cef8cbc (diff)
downloadUXP-1a21b526928b0c5815aa3910499ac980714fa25b.tar
UXP-1a21b526928b0c5815aa3910499ac980714fa25b.tar.gz
UXP-1a21b526928b0c5815aa3910499ac980714fa25b.tar.lz
UXP-1a21b526928b0c5815aa3910499ac980714fa25b.tar.xz
UXP-1a21b526928b0c5815aa3910499ac980714fa25b.zip
Issue #1624 - Make ion inlining optimizations a pref.
This also adds it to JS_SetGlobalJitCompilerOption()
Diffstat (limited to 'modules/libpref/init')
-rw-r--r--modules/libpref/init/all.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 7b5825d64..b8adf382b 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -1272,6 +1272,7 @@ pref("javascript.options.strict.debug", false);
pref("javascript.options.unboxed_objects", false);
pref("javascript.options.baselinejit", true);
pref("javascript.options.ion", true);
+pref("javascript.options.ion.inlining", true);
pref("javascript.options.asmjs", true);
pref("javascript.options.wasm", true);
// wasm jit crashes in 32bit builds because of 64bit casts so