summaryrefslogtreecommitdiff
path: root/js/xpconnect/src/XPCJSContext.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-05-13 15:45:32 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-05-13 15:45:32 +0000
commit3ded48cbe3529811f8638fde9f392bc915c35163 (patch)
tree90bca6568cfeb269ff51aff49c412188fe3b02e9 /js/xpconnect/src/XPCJSContext.cpp
parent413ba3bad12946082f4fa6918736cd8f8e2c5a62 (diff)
downloaduxp-3ded48cbe3529811f8638fde9f392bc915c35163.tar.gz
Unhook Unboxed Objects option
Diffstat (limited to 'js/xpconnect/src/XPCJSContext.cpp')
-rw-r--r--js/xpconnect/src/XPCJSContext.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/xpconnect/src/XPCJSContext.cpp b/js/xpconnect/src/XPCJSContext.cpp
index bde949a960..0243d80e36 100644
--- a/js/xpconnect/src/XPCJSContext.cpp
+++ b/js/xpconnect/src/XPCJSContext.cpp
@@ -1427,8 +1427,6 @@ ReloadPrefsCallback(const char* pref, void* data)
bool extraWarnings = Preferences::GetBool(JS_OPTIONS_DOT_STR "strict");
- bool unboxedObjects = Preferences::GetBool(JS_OPTIONS_DOT_STR "unboxed_objects");
-
sSharedMemoryEnabled = Preferences::GetBool(JS_OPTIONS_DOT_STR "shared_memory");
#ifdef DEBUG
@@ -1457,8 +1455,6 @@ ReloadPrefsCallback(const char* pref, void* data)
useBaselineEager ? 0 : -1);
JS_SetGlobalJitCompilerOption(cx, JSJITCOMPILER_ION_WARMUP_TRIGGER,
useIonEager ? 0 : -1);
- JS_SetGlobalJitCompilerOption(cx, JSJITCOMPILER_UNBOXED_OBJECTS,
- unboxedObjects);
}
XPCJSContext::~XPCJSContext()