mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +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:
parent
b7ce0680dd
commit
df3ff76815
7 changed files with 11 additions and 11 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue