1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:37:35 +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:
Andreas Kling 2020-09-21 13:36:32 +02:00
parent b7ce0680dd
commit df3ff76815
7 changed files with 11 additions and 11 deletions

View file

@ -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);