mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 12:35:14 +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
Notes:
sideshowbarker
2024-07-17 19:56:07 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/30fcb07fe80
1 changed files with 2 additions and 2 deletions
|
@ -67,10 +67,10 @@ protected:
|
|||
private:
|
||||
virtual bool is_environment() const final { return true; }
|
||||
|
||||
bool m_permanently_screwed_by_eval { false };
|
||||
|
||||
GlobalObject* m_global_object { nullptr };
|
||||
Environment* m_outer_environment { nullptr };
|
||||
|
||||
bool m_permanently_screwed_by_eval { false };
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue