LibJS: Make make_super_property_reference() take a PropertyKey

Let's get rid of StringOrSymbol usage outside of Shape.
This commit is contained in:
Andreas Kling 2021-10-24 16:03:14 +02:00
commit 75f2510de9
Notes: sideshowbarker 2024-07-18 01:56:33 +09:00
2 changed files with 2 additions and 2 deletions

View file

@ -452,7 +452,7 @@ Object* get_super_constructor(VM& vm)
}
// 13.3.7.3 MakeSuperPropertyReference ( actualThis, propertyKey, strict ), https://tc39.es/ecma262/#sec-makesuperpropertyreference
ThrowCompletionOr<Reference> make_super_property_reference(GlobalObject& global_object, Value actual_this, StringOrSymbol const& property_key, bool strict)
ThrowCompletionOr<Reference> make_super_property_reference(GlobalObject& global_object, Value actual_this, PropertyKey const& property_key, bool strict)
{
auto& vm = global_object.vm();
// 1. Let env be GetThisEnvironment().