summaryrefslogtreecommitdiff
path: root/Applications/Spreadsheet/Workbook.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-09-21 13:36:32 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-21 14:35:12 +0200
commitdf3ff76815893104eb1c2686c4e51d70793c28f3 (patch)
tree258d19ed12f4949fe71d327ccd4c8fa1c8597ba8 /Applications/Spreadsheet/Workbook.cpp
parentb7ce0680ddf1cb7135874eefa8ab5d75e9af2850 (diff)
downloadserenity-df3ff76815893104eb1c2686c4e51d70793c28f3.zip
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.)
Diffstat (limited to 'Applications/Spreadsheet/Workbook.cpp')
-rw-r--r--Applications/Spreadsheet/Workbook.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/Spreadsheet/Workbook.cpp b/Applications/Spreadsheet/Workbook.cpp
index 252bb1d93e..8fbe19dc1f 100644
--- a/Applications/Spreadsheet/Workbook.cpp
+++ b/Applications/Spreadsheet/Workbook.cpp
@@ -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());