From 1212a022fa5f8ef9585d765b1809521812af882c Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Mon, 4 Mar 2013 10:48:41 -0800 Subject: Move the Compiler to CompilerDriver. Change-Id: I0bb4d3c2b79b45fd8ef180688c767712b0c55978 --- src/compiler_llvm/compiler_llvm.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/compiler_llvm/compiler_llvm.h') diff --git a/src/compiler_llvm/compiler_llvm.h b/src/compiler_llvm/compiler_llvm.h index 0cd08a7a39..0995a55edd 100644 --- a/src/compiler_llvm/compiler_llvm.h +++ b/src/compiler_llvm/compiler_llvm.h @@ -18,7 +18,7 @@ #define ART_SRC_COMPILER_LLVM_COMPILER_LLVM_H_ #include "base/macros.h" -#include "compiler.h" +#include "compiler/driver/compiler_driver.h" #include "dex_file.h" #include "instruction_set.h" #include "mirror/object.h" @@ -33,7 +33,7 @@ namespace art { class CompiledInvokeStub; class CompiledMethod; - class Compiler; + class CompilerDriver; class OatCompilationUnit; namespace mirror { class AbstractMethod; @@ -60,12 +60,12 @@ class IRBuilder; class CompilerLLVM { public: - CompilerLLVM(Compiler* compiler, InstructionSet insn_set); + CompilerLLVM(CompilerDriver* driver, InstructionSet insn_set); ~CompilerLLVM(); - Compiler* GetCompiler() const { - return compiler_; + CompilerDriver* GetCompiler() const { + return compiler_driver_; } InstructionSet GetInstructionSet() const { @@ -94,7 +94,7 @@ class CompilerLLVM { private: LlvmCompilationUnit* AllocateCompilationUnit(); - Compiler* compiler_; + CompilerDriver* compiler_driver_; InstructionSet insn_set_; -- cgit v1.2.3-59-g8ed1b