Compile llvm.Module into ELF object file.
Change-Id: I8faf7427944324c9bac12573d217cde2a2e658f1
diff --git a/src/compiler_llvm/upcall_compiler.h b/src/compiler_llvm/upcall_compiler.h
index 426919e..c1e0afc 100644
--- a/src/compiler_llvm/upcall_compiler.h
+++ b/src/compiler_llvm/upcall_compiler.h
@@ -34,19 +34,19 @@
namespace art {
namespace compiler_llvm {
+class CompilationUnit;
class CompilerLLVM;
class IRBuilder;
class UpcallCompiler {
public:
- UpcallCompiler(InstructionSet insn_set, Compiler& compiler);
+ UpcallCompiler(CompilationUnit* cunit, Compiler& compiler);
CompiledInvokeStub* CreateStub(bool is_static, char const* shorty);
private:
- InstructionSet insn_set_;
+ CompilationUnit* cunit_;
Compiler const* compiler_;
- CompilerLLVM* compiler_llvm_;
llvm::Module* module_;
llvm::LLVMContext* context_;
IRBuilder& irb_;