1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:07:45 +00:00

LibJS: Let the bytecode interpreter set the VM's last value

This commit is contained in:
Gunnar Beutner 2021-06-10 21:01:44 +02:00 committed by Andreas Kling
parent 023df8e596
commit 319a60043b
3 changed files with 7 additions and 2 deletions

View file

@ -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; };