From 5cb127819c5cdd20caba791e211f686f4b5dd048 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 2 May 2024 07:42:09 +0200 Subject: [PATCH] LibJS: Fix build after merging CallFrame removal and finally fixes --- Userland/Libraries/LibJS/Bytecode/Interpreter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp index f5e34222bf7..9298f86e61e 100644 --- a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp @@ -531,13 +531,13 @@ void Interpreter::catch_exception(Operand dst) 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() { 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)