mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:07:34 +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:
parent
4646a87eba
commit
d878975f95
14 changed files with 0 additions and 53 deletions
|
@ -38,9 +38,6 @@ public:
|
|||
ThrowCompletionOr<void> create_global_var_binding(DeprecatedFlyString const& name, bool can_be_deleted);
|
||||
ThrowCompletionOr<void> create_global_function_binding(DeprecatedFlyString const& name, Value, bool can_be_deleted);
|
||||
|
||||
static FlatPtr object_record_offset() { return OFFSET_OF(GlobalEnvironment, m_object_record); }
|
||||
static FlatPtr declarative_record_offset() { return OFFSET_OF(GlobalEnvironment, m_declarative_record); }
|
||||
|
||||
private:
|
||||
GlobalEnvironment(Object&, Object& this_value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue