Bläddra i källkod

LibJS: Expose offset to m_indexed_properties

iliadsh 1 år sedan
förälder
incheckning
f91c3e9ac3
1 ändrade filer med 1 tillägg och 0 borttagningar
  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 };