From f91c3e9ac3b40d0244c7f1ac446279d51da3d3f9 Mon Sep 17 00:00:00 2001 From: iliadsh Date: Thu, 9 Nov 2023 08:55:59 +0000 Subject: [PATCH] LibJS: Expose offset to m_indexed_properties --- Userland/Libraries/LibJS/Runtime/Object.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Userland/Libraries/LibJS/Runtime/Object.h b/Userland/Libraries/LibJS/Runtime/Object.h index 4d51e4936c..d41c8364d1 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.h +++ b/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 };