mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
LibJS: Rename InterpreterScope => InterpreterExecutionScope
To make it a little clearer what this is for. (This is an RAII helper class for adding and removing an Interpreter to a VM's list of the currently active (executing code) Interpreters.)
This commit is contained in:
@@ -60,7 +60,7 @@ Interpreter::~Interpreter()
|
||||
|
||||
Value Interpreter::run(GlobalObject& global_object, const Program& program)
|
||||
{
|
||||
VM::InterpreterScope scope(*this);
|
||||
VM::InterpreterExecutionScope scope(*this);
|
||||
|
||||
ASSERT(!exception());
|
||||
|
||||
@@ -253,7 +253,7 @@ Value Interpreter::call_internal(Function& function, Value this_value, Optional<
|
||||
{
|
||||
ASSERT(!exception());
|
||||
|
||||
VM::InterpreterScope scope(*this);
|
||||
VM::InterpreterExecutionScope scope(*this);
|
||||
|
||||
auto& call_frame = push_call_frame();
|
||||
call_frame.function_name = function.name();
|
||||
|
||||
Reference in New Issue
Block a user