mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 21:17:45 +00:00
LibJS: Reorganize JS::Shape members a little bit
Now that AK::Weakable doesn't have a bunch of padding at the end, let's move the smaller members of JS::Shape to the end, since there's nothing to fold into at the start.
This commit is contained in:
parent
1469057033
commit
4a51165f5f
2 changed files with 9 additions and 9 deletions
|
@ -98,10 +98,6 @@ private:
|
|||
|
||||
void ensure_property_table() const;
|
||||
|
||||
PropertyAttributes m_attributes { 0 };
|
||||
TransitionType m_transition_type : 6 { TransitionType::Invalid };
|
||||
bool m_unique : 1 { false };
|
||||
|
||||
Object* m_global_object { nullptr };
|
||||
|
||||
mutable OwnPtr<HashMap<StringOrSymbol, PropertyMetadata>> m_property_table;
|
||||
|
@ -112,6 +108,10 @@ private:
|
|||
StringOrSymbol m_property_name;
|
||||
Object* m_prototype { nullptr };
|
||||
size_t m_property_count { 0 };
|
||||
|
||||
PropertyAttributes m_attributes { 0 };
|
||||
TransitionType m_transition_type : 6 { TransitionType::Invalid };
|
||||
bool m_unique : 1 { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue