LibJS: Fix build after merging CallFrame removal and finally fixes

This commit is contained in:
Andreas Kling 2024-05-02 07:42:09 +02:00
parent ada5027163
commit 5cb127819c
Notes: sideshowbarker 2024-07-16 23:17:55 +09:00

View File

@ -531,13 +531,13 @@ void Interpreter::catch_exception(Operand dst)
void Interpreter::restore_scheduled_jump() void Interpreter::restore_scheduled_jump()
{ {
m_scheduled_jump = call_frame().previously_scheduled_jumps.take_last(); m_scheduled_jump = vm().running_execution_context().previously_scheduled_jumps.take_last();
} }
void Interpreter::leave_finally() void Interpreter::leave_finally()
{ {
reg(Register::exception()) = {}; reg(Register::exception()) = {};
m_scheduled_jump = call_frame().previously_scheduled_jumps.take_last(); m_scheduled_jump = vm().running_execution_context().previously_scheduled_jumps.take_last();
} }
void Interpreter::enter_object_environment(Object& object) void Interpreter::enter_object_environment(Object& object)