mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 12:07:45 +00:00
LibJS: Remove ability to disable bytecode VM
This commit is contained in:
parent
9a709e03a3
commit
e2c8d5859e
7 changed files with 2 additions and 24 deletions
|
@ -14,7 +14,8 @@ TESTJS_PROGRAM_FLAG(test262_parser_tests, "Run test262 parser tests", "test262-p
|
|||
|
||||
TESTJS_GLOBAL_FUNCTION(is_bytecode_interpreter_enabled, isBytecodeInterpreterEnabled, 0)
|
||||
{
|
||||
return JS::Value(JS::Bytecode::Interpreter::enabled());
|
||||
// FIXME: Remove this function after updating the tests.
|
||||
return JS::Value(true);
|
||||
}
|
||||
|
||||
TESTJS_GLOBAL_FUNCTION(is_strict_mode, isStrictMode, 0)
|
||||
|
|
|
@ -575,8 +575,6 @@ int main(int argc, char** argv)
|
|||
args_parser.add_option(disable_core_dumping, "Disable core dumping", "disable-core-dump", 0);
|
||||
args_parser.parse(arguments);
|
||||
|
||||
JS::Bytecode::Interpreter::set_enabled(true);
|
||||
|
||||
#if !defined(AK_OS_MACOS) && !defined(AK_OS_EMSCRIPTEN)
|
||||
if (disable_core_dumping && prctl(PR_SET_DUMPABLE, 0, 0) < 0) {
|
||||
perror("prctl(PR_SET_DUMPABLE)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue