summaryrefslogtreecommitdiffstats
path: root/js/src/jit/JitOptions.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-03-21 09:53:24 +0100
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-03-21 09:53:24 +0100
commit890bb438b000821586c076ed8f880e95ea03f075 (patch)
tree297e11dfda4adf5568ffb7668d78f4a282b7773d /js/src/jit/JitOptions.cpp
parent85e33523c3683fdb8a3fd45f8c317fb30d8ca8a4 (diff)
downloadUXP-890bb438b000821586c076ed8f880e95ea03f075.tar
UXP-890bb438b000821586c076ed8f880e95ea03f075.tar.gz
UXP-890bb438b000821586c076ed8f880e95ea03f075.tar.lz
UXP-890bb438b000821586c076ed8f880e95ea03f075.tar.xz
UXP-890bb438b000821586c076ed8f880e95ea03f075.zip
Pref the use of unboxed plain objects in JS and disable by default.
This should be all that's needed for #1017, but verification of impact is definitely desired.
Diffstat (limited to 'js/src/jit/JitOptions.cpp')
-rw-r--r--js/src/jit/JitOptions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jit/JitOptions.cpp b/js/src/jit/JitOptions.cpp
index eb5a6c1c2..b9a7c7b27 100644
--- a/js/src/jit/JitOptions.cpp
+++ b/js/src/jit/JitOptions.cpp
@@ -222,7 +222,7 @@ DefaultJitOptions::DefaultJitOptions()
}
// Toggles whether unboxed plain objects can be created by the VM.
- SET_DEFAULT(disableUnboxedObjects, false);
+ SET_DEFAULT(disableUnboxedObjects, true);
// Test whether Atomics are allowed in asm.js code.
SET_DEFAULT(asmJSAtomicsEnable, false);