diff options
Diffstat (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc')
| -rw-r--r-- | src/compiler/codegen/arm/MethodCodegenDriver.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc index 49529e1174..6e2f285d39 100644 --- a/src/compiler/codegen/arm/MethodCodegenDriver.cc +++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc @@ -350,8 +350,9 @@ static int nextSDCallInsnSP(CompilationUnit* cUnit, MIR* mir, 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()); |