diff options
| author | 2011-08-24 23:18:18 -0700 | |
|---|---|---|
| committer | 2011-08-25 09:45:07 -0700 | |
| commit | 9ea1cb1a22be5b85dc2622e3836c46a1c48e3f25 (patch) | |
| tree | 99dd5c0b0a3e6db3f8696197467ae4fec284bec2 /src/compiler/codegen/arm/MethodCodegenDriver.cc | |
| parent | 04ec7f0f244ef36fac1c7e590d2ea14e35dfe95a (diff) | |
First pass of compiler wrapping class
Change-Id: I343625310f69cc4de315af91b9cc72bb4da8f59b
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
| -rw-r--r-- | src/compiler/codegen/arm/MethodCodegenDriver.cc | 4 |
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 { |