mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibJS: Explicitly invoke Cell constructor in Object(Object& prototype)
This commit is contained in:
parent
78f10942ba
commit
675e7c0e6f
1 changed files with 1 additions and 0 deletions
|
@ -97,6 +97,7 @@ Object::Object(ConstructWithoutPrototypeTag, GlobalObject& global_object)
|
||||||
}
|
}
|
||||||
|
|
||||||
Object::Object(Object& prototype)
|
Object::Object(Object& prototype)
|
||||||
|
: Cell()
|
||||||
{
|
{
|
||||||
m_shape = prototype.global_object().empty_object_shape();
|
m_shape = prototype.global_object().empty_object_shape();
|
||||||
set_prototype(&prototype);
|
set_prototype(&prototype);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue