From 05bded260758869a5e0cf6ab55f082a586c1fb47 Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 21 Jan 2014 11:38:17 +0000 Subject: Clean up frontend.h includes and forward declarations. Remove unused and add needed includes and forward declarations. Explicitly include "invoke_type.h" instead of relying on indirect inclusion via "dex_file.h". Change-Id: Ic7a2e0e9a1f29f10008ca42a1183e357d132fd88 --- compiler/dex/frontend.h | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'compiler/dex/frontend.h') diff --git a/compiler/dex/frontend.h b/compiler/dex/frontend.h index 8eb6684d7f..8ce12067ee 100644 --- a/compiler/dex/frontend.h +++ b/compiler/dex/frontend.h @@ -18,12 +18,7 @@ #define ART_COMPILER_DEX_FRONTEND_H_ #include "dex_file.h" -#include "dex_instruction.h" - - - - - +#include "invoke_type.h" namespace llvm { class Module; @@ -82,9 +77,6 @@ enum debugControlVector { kDebugTimings }; -class DexFileToMethodInlinerMap; -class CompilerDriver; - class LLVMInfo { public: LLVMInfo(); @@ -113,8 +105,8 @@ class LLVMInfo { UniquePtr ir_builder_; }; -struct CompilationUnit; -struct BasicBlock; +struct CompiledMethod; +class CompilerDriver; } // namespace art -- cgit v1.2.3-59-g8ed1b