From 1d5cb12a9f9722d87350aaa96ae26b1db95edcba Mon Sep 17 00:00:00 2001 From: Bolshov Maxim Date: Thu, 6 Oct 2022 17:59:02 +0300 Subject: [PATCH] Use new hotcounting in ecmascript plugin Change-Id: I1200ed37a11610be8c93a18ad0e0ea758c5d0330c --- runtime/interpreter/ecma-interpreter-inl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/interpreter/ecma-interpreter-inl.h b/runtime/interpreter/ecma-interpreter-inl.h index 024bb8d79..797270822 100644 --- a/runtime/interpreter/ecma-interpreter-inl.h +++ b/runtime/interpreter/ecma-interpreter-inl.h @@ -361,7 +361,7 @@ public: UPDATE_CALL_PROFILE(this_func); - method->IncrementHotnessCounter(0, nullptr); + method->DecrementHotnessCounter(0, nullptr); // Call stackless interpreter this->template CallInterpreterStackless, FORMAT, @@ -457,7 +457,7 @@ public: return; } } else { - method->IncrementHotnessCounter(0, nullptr); + method->DecrementHotnessCounter(0, nullptr); // Call stackless interpreter this->template CallInterpreterStackless, FORMAT, -- Gitee