mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:17:35 +00:00
LibJS: Make JS::Environment smaller by reordering members
By putting `m_permanently_screwed_by_eval` first, it folds into the padding at the end of the base class (JS::Cell).
This commit is contained in:
parent
7431f6073b
commit
30fcb07fe8
1 changed files with 2 additions and 2 deletions
|
@ -67,10 +67,10 @@ protected:
|
||||||
private:
|
private:
|
||||||
virtual bool is_environment() const final { return true; }
|
virtual bool is_environment() const final { return true; }
|
||||||
|
|
||||||
|
bool m_permanently_screwed_by_eval { false };
|
||||||
|
|
||||||
GlobalObject* m_global_object { nullptr };
|
GlobalObject* m_global_object { nullptr };
|
||||||
Environment* m_outer_environment { nullptr };
|
Environment* m_outer_environment { nullptr };
|
||||||
|
|
||||||
bool m_permanently_screwed_by_eval { false };
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue