From 14891efb7d7c9170151dd385eaab9409f8382269 Mon Sep 17 00:00:00 2001 From: ywx Date: Tue, 2 Sep 2025 20:48:37 +0800 Subject: [PATCH] Fix frametype bug Issue: https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICW221?from=project-issue Signed-off-by: ywx Change-Id: I233571040508e404d70a692bf2d2459fae443ae6 --- ecmascript/interpreter/frame_handler.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecmascript/interpreter/frame_handler.h b/ecmascript/interpreter/frame_handler.h index 6163b7fc87..58e69ba884 100644 --- a/ecmascript/interpreter/frame_handler.h +++ b/ecmascript/interpreter/frame_handler.h @@ -49,7 +49,7 @@ public: { ASSERT(sp != nullptr); FrameType *typeAddr = reinterpret_cast(reinterpret_cast(sp) - sizeof(FrameType)); - return static_cast (static_cast(*typeAddr) & + return static_cast (static_cast(*typeAddr) & FrameIterator::CLEARD_LAZY_DEOPT_FLAG); } @@ -274,7 +274,7 @@ private: { ASSERT(HasFrame()); FrameType *typeAddr = reinterpret_cast(reinterpret_cast(sp_) - sizeof(FrameType)); - return static_cast (static_cast(*typeAddr) & + return static_cast (static_cast(*typeAddr) & FrameIterator::CLEARD_LAZY_DEOPT_FLAG); } -- Gitee