From 48d7222d2f543752ffb17db05e0b9e891061135c Mon Sep 17 00:00:00 2001 From: buzbee Date: Wed, 11 Jan 2012 15:19:51 -0800 Subject: Add unimplemented artResolveMethodFromCode Change-Id: I1ba804c56413477451abff82939e27579494e1f9 --- src/compiler/codegen/arm/MethodCodegenDriver.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/codegen/arm/MethodCodegenDriver.cc') diff --git a/src/compiler/codegen/arm/MethodCodegenDriver.cc b/src/compiler/codegen/arm/MethodCodegenDriver.cc index 3f8d9005a3..08a53bd80c 100644 --- a/src/compiler/codegen/arm/MethodCodegenDriver.cc +++ b/src/compiler/codegen/arm/MethodCodegenDriver.cc @@ -545,6 +545,7 @@ STATIC int nextVCallInsnSP(CompilationUnit* cUnit, MIR* mir, loadWordDisp(cUnit, rSELF, OFFSETOF_MEMBER(Thread, pResolveMethodFromCode), rLR); loadConstant(cUnit, r1, dInsn->vB); + loadConstant(cUnit, r2, false); callRuntimeHelper(cUnit, rLR); genUnconditionalBranch(cUnit, rollback); // Resume normal slow path @@ -729,6 +730,7 @@ STATIC int nextSuperCallInsnSP(CompilationUnit* cUnit, MIR* mir, loadWordDisp(cUnit, rSELF, OFFSETOF_MEMBER(Thread, pResolveMethodFromCode), rLR); loadConstant(cUnit, r1, dInsn->vB); + loadConstant(cUnit, r2, true); callRuntimeHelper(cUnit, rLR); genUnconditionalBranch(cUnit, rollback); // Resume normal slow path @@ -1085,6 +1087,7 @@ STATIC void genInvokeSuper(CompilationUnit* cUnit, MIR* mir) loadWordDisp(cUnit, rSELF, OFFSETOF_MEMBER(Thread, pResolveMethodFromCode), rLR); loadConstant(cUnit, r1, dInsn->vB); + loadConstant(cUnit, r2, true); callRuntimeHelper(cUnit, rLR); } @@ -1157,6 +1160,7 @@ STATIC void genInvokeVirtual(CompilationUnit* cUnit, MIR* mir) loadWordDisp(cUnit, rSELF, OFFSETOF_MEMBER(Thread, pResolveMethodFromCode), rLR); loadConstant(cUnit, r1, dInsn->vB); + loadConstant(cUnit, r2, false); callRuntimeHelper(cUnit, rLR); } -- cgit v1.2.3-59-g8ed1b