From 9ea1cb1a22be5b85dc2622e3836c46a1c48e3f25 Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Wed, 24 Aug 2011 23:18:18 -0700 Subject: First pass of compiler wrapping class Change-Id: I343625310f69cc4de315af91b9cc72bb4da8f59b --- src/compiler/codegen/arm/MethodCodegenDriver.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc') 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 { -- cgit v1.2.3-59-g8ed1b