diff options
author | Andreas Kling <kling@serenityos.org> | 2020-09-21 13:36:32 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-09-21 14:35:12 +0200 |
commit | df3ff76815893104eb1c2686c4e51d70793c28f3 (patch) | |
tree | 258d19ed12f4949fe71d327ccd4c8fa1c8597ba8 /Userland | |
parent | b7ce0680ddf1cb7135874eefa8ab5d75e9af2850 (diff) | |
download | serenity-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 'Userland')
-rw-r--r-- | Userland/test-js.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/test-js.cpp b/Userland/test-js.cpp index 84d7727651..a6b9b11f17 100644 --- a/Userland/test-js.cpp +++ b/Userland/test-js.cpp @@ -278,7 +278,7 @@ JSFileResult TestRunner::run_file_test(const String& test_path) auto interpreter = JS::Interpreter::create<TestRunnerGlobalObject>(*vm); // FIXME: This is a hack while we're refactoring Interpreter/VM stuff. - JS::VM::InterpreterScope scope(*interpreter); + JS::VM::InterpreterExecutionScope scope(*interpreter); interpreter->heap().set_should_collect_on_every_allocation(collect_on_every_allocation); |