mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
LibJS: Show the VM's last value after executing bytecode programs
This commit is contained in:
parent
3a8f913eee
commit
de6d032273
Notes:
sideshowbarker
2024-07-18 12:29:05 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/de6d0322732 Pull-request: https://github.com/SerenityOS/serenity/pull/7973
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…
Reference in a new issue