Fix new-instance bug to pass 075.

Change-Id: I180c336c0c60bb425378540ebe3b0919b85a6a34
diff --git a/src/compiler_llvm/method_compiler.cc b/src/compiler_llvm/method_compiler.cc
index 52a4456..abafb3a 100644
--- a/src/compiler_llvm/method_compiler.cc
+++ b/src/compiler_llvm/method_compiler.cc
@@ -1723,8 +1723,8 @@
   DecodedInstruction dec_insn(insn);
 
   llvm::Function* runtime_func;
-  if (compiler_->CanAccessTypeWithoutChecks(method_idx_, dex_cache_,
-                                            *dex_file_, dec_insn.vB)) {
+  if (compiler_->CanAccessInstantiableTypeWithoutChecks(
+        method_idx_, dex_cache_, *dex_file_, dec_insn.vB)) {
     runtime_func = irb_.GetRuntime(AllocObject);
   } else {
     runtime_func = irb_.GetRuntime(AllocObjectWithAccessCheck);