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:
Andreas Kling 2022-01-31 12:36:43 +01:00
parent 7431f6073b
commit 30fcb07fe8
Notes: sideshowbarker 2024-07-17 19:56:07 +09:00

View file

@ -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 };
};
}