mirror of
https://github.com/RGBCube/serenity
synced 2025-07-08 20:27:35 +00:00
LibJS: Rename VM::current_scope() => current_environment_record()
And rename some related functions that wrapped this as well.
This commit is contained in:
parent
d407f247b7
commit
08510a0c80
8 changed files with 28 additions and 27 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue