1 IR builder. Kill greenland. Remove JTypeSpace.
Change-Id: I7d08cfd8c1fec46df4ce5f51706dff2e246695b5
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc
index 8d49aba..c23c5e2 100644
--- a/src/compiler_llvm/jni_compiler.cc
+++ b/src/compiler_llvm/jni_compiler.cc
@@ -268,7 +268,7 @@
CHECK_GE(shorty_size, 1u);
// Get return type
- llvm::Type* ret_type = irb_.getJType(shorty[0], kAccurate);
+ llvm::Type* ret_type = irb_.getJType(shorty[0]);
// Get argument type
std::vector<llvm::Type*> args_type;
@@ -278,11 +278,11 @@
if (!is_static || is_native_function) {
// "this" object pointer for non-static
// "class" object pointer for static naitve
- args_type.push_back(irb_.getJType('L', kAccurate));
+ args_type.push_back(irb_.getJType('L'));
}
for (uint32_t i = 1; i < shorty_size; ++i) {
- args_type.push_back(irb_.getJType(shorty[i], kAccurate));
+ args_type.push_back(irb_.getJType(shorty[i]));
}
return llvm::FunctionType::get(ret_type, args_type, false);