From 0473003709286ee1e6d5c10f81ac8287317f7f27 Mon Sep 17 00:00:00 2001 From: vagin ivan Date: Tue, 12 Jul 2022 19:34:30 +0300 Subject: [PATCH] [runtime] Some macro cleanup Change-Id: Iddb784611343d287ad59ef3dd2aba0a5b2e3d689 Signed-off-by: vagin ivan --- runtime/js_thread.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/runtime/js_thread.h b/runtime/js_thread.h index a366598d2..25901d3da 100644 --- a/runtime/js_thread.h +++ b/runtime/js_thread.h @@ -336,6 +336,10 @@ private: NO_MOVE_SEMANTIC(JSThread); void DumpStack() DUMP_API_ATTR; + bool TestLockState() const override + { + return true; + } static constexpr uint32_t MAX_STACK_SIZE = 128 * 1024; static constexpr uint32_t RESERVE_STACK_SIZE = 128; -- Gitee