mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:38:10 +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
|
@ -48,7 +48,7 @@ static JS::VM& global_vm()
|
|||
Workbook::Workbook(NonnullRefPtrVector<Sheet>&& sheets)
|
||||
: m_sheets(move(sheets))
|
||||
, m_interpreter(JS::Interpreter::create<JS::GlobalObject>(global_vm()))
|
||||
, m_interpreter_scope(JS::VM::InterpreterScope(interpreter()))
|
||||
, m_interpreter_scope(JS::VM::InterpreterExecutionScope(interpreter()))
|
||||
{
|
||||
m_workbook_object = interpreter().heap().allocate<WorkbookObject>(global_object(), *this);
|
||||
global_object().put("workbook", workbook_object());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue