1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00

LibJS: Rename VM::get_reference() => resolve_binding()

This function maps to the ResolveBinding operation from the spec,
so let's rename it to match.
This commit is contained in:
Andreas Kling 2021-06-25 11:24:47 +02:00
parent 2b4cab284c
commit 07acdc7be2
3 changed files with 6 additions and 3 deletions

View file

@ -669,7 +669,7 @@ Reference Expression::to_reference(Interpreter&, GlobalObject&) const
Reference Identifier::to_reference(Interpreter& interpreter, GlobalObject&) const
{
return interpreter.vm().get_reference(string());
return interpreter.vm().resolve_binding(string());
}
Reference MemberExpression::to_reference(Interpreter& interpreter, GlobalObject& global_object) const