From 23e83b2838a2ba97c823cbc37d85e47c64eaa144 Mon Sep 17 00:00:00 2001 From: Tao Wu Date: Mon, 8 Sep 2025 20:13:48 +0800 Subject: [PATCH] [BCOPT] disable optimization for try-catch Issue: https://gitee.com/openharmony/arkcompiler_runtime_core/issues/ICWZOV Signed-off-by: Tao Wu --- static_core/plugins/ets/tests/checked/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static_core/plugins/ets/tests/checked/CMakeLists.txt b/static_core/plugins/ets/tests/checked/CMakeLists.txt index cc4a8496e2..520ebd21f8 100644 --- a/static_core/plugins/ets/tests/checked/CMakeLists.txt +++ b/static_core/plugins/ets/tests/checked/CMakeLists.txt @@ -86,7 +86,7 @@ function(panda_add_checked_test_ets) endif() set(OPTIONS "--load-runtimes=ets" "--run-gc-in-place" "--coroutine-workers-count=1" "--boot-panda-files=${BOOT_PANDA_FILES}") - set(ES2PANDA_OPTIONS --thread=0 --extension=ets) + set(ES2PANDA_OPTIONS --thread=0 --extension=ets --opt-try-catch-func=true) if (NOT PANDA_CI_TESTING_MODE STREQUAL "Nightly") set (OPTIONS ${OPTIONS} "--compiler-check-final=true") endif() -- Gitee