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/stub_compiler.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler_llvm/stub_compiler.h') diff --git a/src/compiler_llvm/stub_compiler.h b/src/compiler_llvm/stub_compiler.h index 312b3af275..63b283dd3f 100644 --- a/src/compiler_llvm/stub_compiler.h +++ b/src/compiler_llvm/stub_compiler.h @@ -22,7 +22,7 @@ namespace art { class CompiledInvokeStub; class CompiledProxyStub; - class Compiler; + class CompilerDriver; } namespace llvm { @@ -39,14 +39,14 @@ class IRBuilder; class StubCompiler { public: - StubCompiler(LlvmCompilationUnit* cunit, Compiler& compiler); + StubCompiler(LlvmCompilationUnit* cunit, const CompilerDriver& compiler); CompiledInvokeStub* CreateInvokeStub(bool is_static, const char* shorty); CompiledInvokeStub* CreateProxyStub(const char* shorty); private: LlvmCompilationUnit* cunit_; - const Compiler* compiler_; + const CompilerDriver* const driver_; llvm::Module* module_; llvm::LLVMContext* context_; IRBuilder& irb_; -- cgit v1.2.3-59-g8ed1b