Browse Source

LibJS: Expose offset to m_indexed_properties

iliadsh 1 year ago
parent
commit
f91c3e9ac3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Userland/Libraries/LibJS/Runtime/Object.h

+ 1 - 0
Userland/Libraries/LibJS/Runtime/Object.h

@@ -219,6 +219,7 @@ public:
     void set_prototype(Object*);
 
     static FlatPtr may_interfere_with_indexed_property_access_offset() { return OFFSET_OF(Object, m_may_interfere_with_indexed_property_access); }
+    static FlatPtr indexed_properties_offset() { return OFFSET_OF(Object, m_indexed_properties); }
 
 protected:
     enum class GlobalObjectTag { Tag };