summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
-rw-r--r--src/compiler/codegen/arm/MethodCodegenDriver.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc
index 483d7a7048..673aaba61f 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -26,7 +26,7 @@ static void genNewArray(CompilationUnit* cUnit, MIR* mir, RegLocation rlDest,
{
oatFlushAllRegs(cUnit); /* All temps to home location */
Class* classPtr = cUnit->method->GetDeclaringClass()->GetDexCache()->
- GetResolvedClass(mir->dalvikInsn.vC);
+ GetResolvedType(mir->dalvikInsn.vC);
if (classPtr == NULL) {
LOG(FATAL) << "Unexpected null classPtr";
} else {
@@ -62,7 +62,7 @@ static void genFilledNewArray(CompilationUnit* cUnit, MIR* mir, bool isRange)
}
oatFlushAllRegs(cUnit); /* All temps to home location */
Class* classPtr = cUnit->method->GetDeclaringClass()->GetDexCache()->
- GetResolvedClass(typeIndex);
+ GetResolvedType(typeIndex);
if (classPtr == NULL) {
LOG(FATAL) << "Unexpected null classPtr";
} else {