Add Module as a member of IRBuilder.
Change-Id: I62704b0a33b166f577fd8675bedac8f998d51294
diff --git a/src/compiler_llvm/ir_builder.h b/src/compiler_llvm/ir_builder.h
index b38c7b0..e88073c 100644
--- a/src/compiler_llvm/ir_builder.h
+++ b/src/compiler_llvm/ir_builder.h
@@ -263,7 +263,7 @@
// Runtime Helper Function (Private)
//--------------------------------------------------------------------------
- void InitRuntimeSupportFuncDecl(llvm::Module& module);
+ void InitRuntimeSupportFuncDecl();
//--------------------------------------------------------------------------
@@ -276,6 +276,8 @@
private:
+ llvm::Module* module_;
+
llvm::PointerType* jobject_type_;
llvm::PointerType* jenv_type_;