mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-23 11:04:40 +00:00
LibJS: Remove the isBytecodeInterpreterEnabled built-in
This commit is contained in:
parent
375a6f5dd9
commit
7003c6ffdb
|
@ -12,12 +12,6 @@ TEST_ROOT("Userland/Libraries/LibJS/Tests");
|
||||||
|
|
||||||
TESTJS_PROGRAM_FLAG(test262_parser_tests, "Run test262 parser tests", "test262-parser-tests", 0);
|
TESTJS_PROGRAM_FLAG(test262_parser_tests, "Run test262 parser tests", "test262-parser-tests", 0);
|
||||||
|
|
||||||
TESTJS_GLOBAL_FUNCTION(is_bytecode_interpreter_enabled, isBytecodeInterpreterEnabled, 0)
|
|
||||||
{
|
|
||||||
// FIXME: Remove this function after updating the tests.
|
|
||||||
return JS::Value(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
TESTJS_GLOBAL_FUNCTION(is_strict_mode, isStrictMode, 0)
|
TESTJS_GLOBAL_FUNCTION(is_strict_mode, isStrictMode, 0)
|
||||||
{
|
{
|
||||||
return JS::Value(vm.in_strict_mode());
|
return JS::Value(vm.in_strict_mode());
|
||||||
|
|
Loading…
Reference in a new issue