mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: Rename Environment Records so they match the spec :^)
This patch makes the following name changes: - ScopeObject => EnvironmentRecord - LexicalEnvironment => DeclarativeEnvironmentRecord - WithScope => ObjectEnvironmentRecord
This commit is contained in:
@@ -478,10 +478,10 @@ const FlyString& ProxyObject::name() const
|
||||
return static_cast<Function&>(m_target).name();
|
||||
}
|
||||
|
||||
LexicalEnvironment* ProxyObject::create_environment()
|
||||
DeclarativeEnvironmentRecord* ProxyObject::create_environment_record()
|
||||
{
|
||||
VERIFY(is_function());
|
||||
return static_cast<Function&>(m_target).create_environment();
|
||||
return static_cast<Function&>(m_target).create_environment_record();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user