diff --git a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp index 61e174d2107..7f0943c7acf 100644 --- a/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp +++ b/Userland/Libraries/LibJS/Bytecode/Interpreter.cpp @@ -53,7 +53,7 @@ Value Interpreter::run(Executable const& executable, BasicBlock const* entry_poi execution_context.function_name = global_execution_context_name; execution_context.lexical_environment = &m_realm.global_environment(); execution_context.variable_environment = &m_realm.global_environment(); - VERIFY(!vm().exception()); + execution_context.realm = &m_realm; // FIXME: How do we know if we're in strict mode? Maybe the Bytecode::Block should know this? // execution_context.is_strict_mode = ???; vm().push_execution_context(execution_context, global_object());