summaryrefslogtreecommitdiff
path: root/src/compiler/codegen/arm/MethodCodegenDriver.cc
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2011-08-28 13:02:33 -0700
committer Brian Carlstrom <bdc@google.com> 2011-08-28 14:19:11 -0700
commit1caa2c205e51dda670207828f25451fb7623cea6 (patch)
tree7362e7c75871bbcc9c317598547f4bcba01d0907 /src/compiler/codegen/arm/MethodCodegenDriver.cc
parentdfd3d70e58c37b5d56eded3a4469082d8bb26ee0 (diff)
Add InitializedStaticStorage table
A non-null entry in the table not only provides access to the storage, it also implies that the referenced type is initialized. Change-Id: Ief9e88b7e58b65b6f9456a4218b7fe87f71c17bb
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 c83a2a4a09..bd50742f35 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -346,7 +346,7 @@ static int nextSDCallInsnSP(CompilationUnit* cUnit, MIR* mir,
break;
case 3: // Method->DeclaringClass()->GetDexCache()->methodsObjectArr
loadBaseDisp(cUnit, mir, r0,
- art::DexCache::MethodsOffset().Int32Value(), r0,
+ art::DexCache::ResolvedMethodsOffset().Int32Value(), r0,
kWord, INVALID_SREG);
break;
case 4: // Skip past the object header
@@ -444,7 +444,7 @@ static int nextVCallInsnSP(CompilationUnit* cUnit, MIR* mir,
break;
case 3: // ...()->GetDexCache()->methodsObjectArr [uses/sets r0]
loadBaseDisp(cUnit, mir, r0,
- art::DexCache::MethodsOffset().Int32Value(), r0,
+ art::DexCache::ResolvedMethodsOffset().Int32Value(), r0,
kWord, INVALID_SREG);
// Load "this" [set r1]
rlArg = oatGetSrc(cUnit, mir, 0);