1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 00:27:43 +00:00

AK+LibJS: Remove OFFSET_OF and its users

With the LibJS JIT removed, let's not expose pointers to internal
members.
This commit is contained in:
Timothy Flynn 2024-02-28 13:08:15 -05:00 committed by Andreas Kling
parent 4646a87eba
commit d878975f95
14 changed files with 0 additions and 53 deletions

View file

@ -42,8 +42,6 @@ public:
// [[IsWithEnvironment]], Indicates whether this Environment Record is created for a with statement.
bool is_with_environment() const { return m_with_environment; }
static FlatPtr binding_object_offset() { return OFFSET_OF(ObjectEnvironment, m_binding_object); }
private:
ObjectEnvironment(Object& binding_object, IsWithEnvironment, Environment* outer_environment);