mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +00:00
LibJS: Show the VM's last value after executing bytecode programs
This commit is contained in:
parent
3a8f913eee
commit
de6d032273
1 changed files with 2 additions and 2 deletions
|
@ -533,9 +533,9 @@ static bool parse_and_run(JS::Interpreter& interpreter, const StringView& source
|
|||
if (s_run_bytecode) {
|
||||
JS::Bytecode::Interpreter bytecode_interpreter(interpreter.global_object());
|
||||
bytecode_interpreter.run(unit);
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
|
||||
return true;
|
||||
} else {
|
||||
interpreter.run(interpreter.global_object(), *program);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue