LibJS: Rename VM::current_scope() => current_environment_record()

And rename some related functions that wrapped this as well.
This commit is contained in:
Andreas Kling 2021-06-21 23:47:44 +02:00
commit 08510a0c80
Notes: sideshowbarker 2024-07-18 11:56:23 +09:00
8 changed files with 28 additions and 27 deletions

View file

@ -166,7 +166,7 @@ Value ScriptFunction::execute_function_body()
if (i >= call_frame_args.size())
call_frame_args.resize(i + 1);
call_frame_args[i] = argument_value;
vm.assign(param, argument_value, global_object(), true, vm.current_scope());
vm.assign(param, argument_value, global_object(), true, vm.current_environment_record());
});
if (vm.exception())