mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibJS: Let the bytecode interpreter set the VM's last value
This commit is contained in:
parent
023df8e596
commit
319a60043b
Notes:
sideshowbarker
2024-07-18 12:29:12 +09:00
Author: https://github.com/gunnarbeutner
Commit: 319a60043b
Pull-request: https://github.com/SerenityOS/serenity/pull/7973
3 changed files with 7 additions and 2 deletions
|
@ -158,6 +158,7 @@ public:
|
|||
}
|
||||
|
||||
Value last_value() const { return m_last_value; }
|
||||
void set_last_value(Badge<Bytecode::Interpreter>, Value value) { m_last_value = value; }
|
||||
void set_last_value(Badge<Interpreter>, Value value) { m_last_value = value; }
|
||||
|
||||
const StackInfo& stack_info() const { return m_stack_info; };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue