From 754afb04c33bf94d741b8648c18af395563dea01 Mon Sep 17 00:00:00 2001 From: herongpeng Date: Fri, 15 Aug 2025 16:44:36 +0800 Subject: [PATCH] Add log to switch 1.2 Add log to switch 1.2 Issue:https://gitee.com/openharmony/arkcompiler_ets_runtime/issues/ICT75N Signed-off-by: herongpeng Change-Id: I13e1e3807d573db905398bf49a9aef84a9fb971c --- compiler_service/src/aot_args_handler.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler_service/src/aot_args_handler.cpp b/compiler_service/src/aot_args_handler.cpp index e02ca22222..ab2f6cee9b 100644 --- a/compiler_service/src/aot_args_handler.cpp +++ b/compiler_service/src/aot_args_handler.cpp @@ -189,8 +189,10 @@ void AOTArgsParser::SetEnableCodeCommentBySysParam(HapArgs &hapArgs) bool AOTArgsParserBase::IsEnableStaticCompiler() { - return OHOS::system::GetBoolParameter("ark.aot.enable_static_compiler", + bool enable = OHOS::system::GetBoolParameter("ark.aot.enable_static_compiler", ARK_AOT_ENABLE_STATIC_COMPILER_DEFAULT_VALUE); + LOG_SA(INFO) << "enable static compiler switch is : " << enable; + return enable; } #endif -- Gitee