!1751 decrease ark log

Merge pull request !1751 from weng-changcheng/ark_hilog_decrease
This commit is contained in:
openharmony_ci 2022-07-07 11:27:19 +00:00 committed by Gitee
commit 2333ebf18d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 8 additions and 2 deletions

View File

@ -52,8 +52,11 @@ using CommonStubCSigns = kungfu::CommonStubCSigns;
#pragma GCC diagnostic ignored "-Wpedantic"
#endif
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#ifdef INTERPRETER_LOG
#define LOG_INST() LOG_INTERPRETER(DEBUG)
#else
#define LOG_INST() false && LOG_INTERPRETER(DEBUG)
#endif
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define HANDLE_OPCODE(handle_opcode) \

View File

@ -47,8 +47,11 @@ using panda::ecmascript::kungfu::CommonStubCSigns;
#pragma GCC diagnostic ignored "-Wunused-parameter"
#endif
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#ifdef INTERPRETER_LOG
#define LOG_INST() LOG_INTERPRETER(DEBUG)
#else
#define LOG_INST() false && LOG_INTERPRETER(DEBUG)
#endif
// NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
#define ADVANCE_PC(offset) \