From eb937631bb5654e33a9b7c3ae5f4b03d3f04948a Mon Sep 17 00:00:00 2001 From: iliadsh Date: Thu, 9 Nov 2023 07:34:58 +0000 Subject: [PATCH] LibJS: Expose offset of may_interfere_with_indexed_property_access --- Userland/Libraries/LibJS/Runtime/Object.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Userland/Libraries/LibJS/Runtime/Object.h b/Userland/Libraries/LibJS/Runtime/Object.h index 7f5ad6e732..4d51e4936c 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.h +++ b/Userland/Libraries/LibJS/Runtime/Object.h @@ -218,6 +218,8 @@ 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); } + protected: enum class GlobalObjectTag { Tag }; enum class ConstructWithoutPrototypeTag { Tag };