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
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc
index c83a2a4..bd50742 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -346,7 +346,7 @@
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 @@
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);