Fix invoke sequence and enable recursive Fibonacci
I was previously generating the wrong starting offset for the
resolved methods array.
Change-Id: Ia77800323df2872681b30f2869ef4b1131766f39
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc
index 49529e1..6e2f285 100644
--- a/src/compiler/codegen/arm/MethodCodegenDriver.cc
+++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc
@@ -350,8 +350,9 @@
INVALID_SREG);
break;
case 3: // Method->DeclaringClass()->GetDexCache()->methodsObjectArr
- loadBaseDisp(cUnit, mir, r0, art::DexCache::MethodsOffset(),
- r0, kWord, INVALID_SREG);
+ loadBaseDisp(cUnit, mir, r0,
+ art::DexCache::MethodsOffset().Int32Value(), r0,
+ kWord, INVALID_SREG);
break;
case 4: // Skip past the object header
opRegImm(cUnit, kOpAdd, r0, art::Array::DataOffset().Int32Value());