diff --git a/ecmascript/ecma_handle_scope.cpp b/ecmascript/ecma_handle_scope.cpp index 948c468df70f0e42c3573b8188719808e287d83b..009714930b11b296c4d734f890ce9ce8b2eb1265 100644 --- a/ecmascript/ecma_handle_scope.cpp +++ b/ecmascript/ecma_handle_scope.cpp @@ -77,7 +77,7 @@ void EcmaHandleScope::ClosePrimitiveScope(EcmaVM *vm) } } -uintptr_t EcmaHandleScope::NewHandle(JSThread *thread, JSTaggedType value) +uintptr_t __attribute__((noinline)) EcmaHandleScope::NewHandle(JSThread *thread, JSTaggedType value) { CHECK_NO_HANDLE_ALLOC; #if ECMASCRIPT_ENABLE_THREAD_STATE_CHECK