1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:57:35 +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

@ -202,7 +202,7 @@ public:
void assign(const FlyString& target, Value, GlobalObject&, bool first_assignment = false, EnvironmentRecord* specific_scope = nullptr);
void assign(const NonnullRefPtr<BindingPattern>& target, Value, GlobalObject&, bool first_assignment = false, EnvironmentRecord* specific_scope = nullptr);
Reference get_reference(const FlyString& name);
Reference resolve_binding(FlyString const&);
template<typename T, typename... Args>
void throw_exception(GlobalObject& global_object, Args&&... args)