mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 16:47:29 +09:00
Remove Unboxed Objects Option Code
This commit is contained in:
parent
aa89a14709
commit
05daa3c420
3 changed files with 0 additions and 8 deletions
|
|
@ -221,9 +221,6 @@ DefaultJitOptions::DefaultJitOptions()
|
||||||
Warn(forcedRegisterAllocatorEnv, env);
|
Warn(forcedRegisterAllocatorEnv, env);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Toggles whether unboxed plain objects can be created by the VM.
|
|
||||||
SET_DEFAULT(disableUnboxedObjects, true);
|
|
||||||
|
|
||||||
// Test whether Atomics are allowed in asm.js code.
|
// Test whether Atomics are allowed in asm.js code.
|
||||||
SET_DEFAULT(asmJSAtomicsEnable, false);
|
SET_DEFAULT(asmJSAtomicsEnable, false);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -91,9 +91,6 @@ struct DefaultJitOptions
|
||||||
mozilla::Maybe<uint32_t> forcedDefaultIonSmallFunctionWarmUpThreshold;
|
mozilla::Maybe<uint32_t> forcedDefaultIonSmallFunctionWarmUpThreshold;
|
||||||
mozilla::Maybe<IonRegisterAllocator> forcedRegisterAllocator;
|
mozilla::Maybe<IonRegisterAllocator> forcedRegisterAllocator;
|
||||||
|
|
||||||
// The options below affect the rest of the VM, and not just the JIT.
|
|
||||||
bool disableUnboxedObjects;
|
|
||||||
|
|
||||||
DefaultJitOptions();
|
DefaultJitOptions();
|
||||||
bool isSmallFunction(JSScript* script) const;
|
bool isSmallFunction(JSScript* script) const;
|
||||||
void setEagerCompilation();
|
void setEagerCompilation();
|
||||||
|
|
|
||||||
|
|
@ -7536,7 +7536,6 @@ SetWorkerContextOptions(JSContext* cx)
|
||||||
.setWasm(enableWasm)
|
.setWasm(enableWasm)
|
||||||
.setWasmAlwaysBaseline(enableWasmAlwaysBaseline)
|
.setWasmAlwaysBaseline(enableWasmAlwaysBaseline)
|
||||||
.setNativeRegExp(enableNativeRegExp)
|
.setNativeRegExp(enableNativeRegExp)
|
||||||
.setUnboxedArrays(enableUnboxedArrays)
|
|
||||||
.setArrayProtoValues(enableArrayProtoValues);
|
.setArrayProtoValues(enableArrayProtoValues);
|
||||||
cx->setOffthreadIonCompilationEnabled(offthreadCompilation);
|
cx->setOffthreadIonCompilationEnabled(offthreadCompilation);
|
||||||
cx->profilingScripts = enableCodeCoverage || enableDisassemblyDumps;
|
cx->profilingScripts = enableCodeCoverage || enableDisassemblyDumps;
|
||||||
|
|
@ -7706,7 +7705,6 @@ main(int argc, char** argv, char** envp)
|
||||||
|| !op.addBoolOption('\0', "no-asmjs", "Disable asm.js compilation")
|
|| !op.addBoolOption('\0', "no-asmjs", "Disable asm.js compilation")
|
||||||
|| !op.addBoolOption('\0', "no-wasm", "Disable WebAssembly compilation")
|
|| !op.addBoolOption('\0', "no-wasm", "Disable WebAssembly compilation")
|
||||||
|| !op.addBoolOption('\0', "no-native-regexp", "Disable native regexp compilation")
|
|| !op.addBoolOption('\0', "no-native-regexp", "Disable native regexp compilation")
|
||||||
|| !op.addBoolOption('\0', "no-unboxed-objects", "Disable creating unboxed plain objects")
|
|
||||||
|| !op.addBoolOption('\0', "wasm-always-baseline", "Enable wasm baseline compiler when possible")
|
|| !op.addBoolOption('\0', "wasm-always-baseline", "Enable wasm baseline compiler when possible")
|
||||||
|| !op.addBoolOption('\0', "wasm-check-bce", "Always generate wasm bounds check, even redundant ones.")
|
|| !op.addBoolOption('\0', "wasm-check-bce", "Always generate wasm bounds check, even redundant ones.")
|
||||||
|| !op.addBoolOption('\0', "no-array-proto-values", "Remove Array.prototype.values")
|
|| !op.addBoolOption('\0', "no-array-proto-values", "Remove Array.prototype.values")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue