summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/jni_compiler.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-02-27 16:03:41 -0800
committer Ian Rogers <irogers@google.com> 2013-02-27 22:20:36 -0800
commit76ae4fe651c77619aeeb4dd395c7ec8fc29685fc (patch)
treec9160ac0bfafe49d5b4a0c303e4767ee52b7abd3 /src/compiler_llvm/jni_compiler.cc
parent395116cae130c983498c0a2f42b89e42f75bb9d0 (diff)
1 IR builder. Kill greenland. Remove JTypeSpace.
Change-Id: I7d08cfd8c1fec46df4ce5f51706dff2e246695b5
Diffstat (limited to 'src/compiler_llvm/jni_compiler.cc')
-rw-r--r--src/compiler_llvm/jni_compiler.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/compiler_llvm/jni_compiler.cc b/src/compiler_llvm/jni_compiler.cc
index 8d49aba971..c23c5e20da 100644
--- a/src/compiler_llvm/jni_compiler.cc
+++ b/src/compiler_llvm/jni_compiler.cc
@@ -268,7 +268,7 @@ llvm::FunctionType* JniCompiler::GetFunctionType(uint32_t method_idx,
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 @@ llvm::FunctionType* JniCompiler::GetFunctionType(uint32_t method_idx,
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);