From 0a1b6e450a62734e568271d982290a92558e68fd Mon Sep 17 00:00:00 2001 From: shulin-h Date: Wed, 20 Aug 2025 09:15:16 +0800 Subject: [PATCH] enable regexp detect in builtin lazyInit Signed-off-by: shulin-h --- ecmascript/global_env.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecmascript/global_env.h b/ecmascript/global_env.h index afb6094b8c..8e27d2521c 100644 --- a/ecmascript/global_env.h +++ b/ecmascript/global_env.h @@ -305,7 +305,7 @@ public: DECL_VISIT_OBJECT(HEADER_SIZE, DATA_SIZE); // define BitField - static constexpr uint32_t DEFAULT_LAZY_BITFIELD_VALUE = 0x7fe; // 0000'...'0000'0111'1111'1110 + static constexpr uint32_t DEFAULT_LAZY_BITFIELD_VALUE = 0x1fc; // 0000'...'0000'0001'1111'1100 static constexpr size_t ARRAYPROTOTYPE_CHANGED_GUARDIANS = 1; static constexpr size_t DETECTOR_BITS = 1; FIRST_BIT_FIELD(BitField, ArrayPrototypeChangedGuardians, bool, ARRAYPROTOTYPE_CHANGED_GUARDIANS) -- Gitee