From 3cd6b1c5596ec9c864e6c8042aa11f41775eb801 Mon Sep 17 00:00:00 2001 From: liyue Date: Mon, 13 Jan 2025 14:20:59 +0800 Subject: [PATCH 1/2] Redundant header file cleanup Issue: https://gitee.com/openharmony/arkcompiler_ets_frontend/issues/IBHIA2 Signed-off-by: liyue Change-Id: Ieb8da592a2509ee177cb04b8f7f257241cf3885b --- es2panda/aot/options.cpp | 2 -- es2panda/util/helpers.cpp | 1 - 2 files changed, 3 deletions(-) diff --git a/es2panda/aot/options.cpp b/es2panda/aot/options.cpp index 2c5bd0358e..f2e0e23be2 100644 --- a/es2panda/aot/options.cpp +++ b/es2panda/aot/options.cpp @@ -17,8 +17,6 @@ #if defined(PANDA_TARGET_WINDOWS) #include -#else -#include #endif #include "bytecode_optimizer/bytecodeopt_options.h" diff --git a/es2panda/util/helpers.cpp b/es2panda/util/helpers.cpp index 7c4a459a17..2c2462cd92 100644 --- a/es2panda/util/helpers.cpp +++ b/es2panda/util/helpers.cpp @@ -34,7 +34,6 @@ #include #ifdef ENABLE_BYTECODE_OPT -#include #include #include #else -- Gitee From ce7becd50c33aca05bb61b4a531138c6901637da Mon Sep 17 00:00:00 2001 From: liyue Date: Tue, 14 Jan 2025 20:21:53 +0800 Subject: [PATCH 2/2] Header cleanup on win Signed-off-by: liyue Change-Id: I6034a246e9b75905ddf65c4f34e145e924c4f5d1 --- es2panda/aot/options.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/es2panda/aot/options.cpp b/es2panda/aot/options.cpp index f2e0e23be2..76721bd9c2 100644 --- a/es2panda/aot/options.cpp +++ b/es2panda/aot/options.cpp @@ -15,10 +15,6 @@ #include "options.h" -#if defined(PANDA_TARGET_WINDOWS) -#include -#endif - #include "bytecode_optimizer/bytecodeopt_options.h" #include "compiler_options.h" #include "utils/timers.h" -- Gitee