From 76ae4fe651c77619aeeb4dd395c7ec8fc29685fc Mon Sep 17 00:00:00 2001 From: Ian Rogers Date: Wed, 27 Feb 2013 16:03:41 -0800 Subject: 1 IR builder. Kill greenland. Remove JTypeSpace. Change-Id: I7d08cfd8c1fec46df4ce5f51706dff2e246695b5 --- src/compiler_llvm/jni_compiler.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compiler_llvm/jni_compiler.cc') 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 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); -- cgit v1.2.3-59-g8ed1b