mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +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
|
@ -81,7 +81,7 @@ public:
|
|||
{
|
||||
DeferGC defer_gc(vm.heap());
|
||||
auto interpreter = adopt_own(*new Interpreter(vm));
|
||||
VM::InterpreterScope scope(*interpreter);
|
||||
VM::InterpreterExecutionScope scope(*interpreter);
|
||||
interpreter->m_global_object = make_handle(static_cast<Object*>(interpreter->heap().allocate_without_global_object<GlobalObjectType>(forward<Args>(args)...)));
|
||||
static_cast<GlobalObjectType*>(interpreter->m_global_object.cell())->initialize();
|
||||
return interpreter;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue