android_mt6572_jiabo/art/runtime/interpreter/mterp/arm/alt_stub.S
2025-09-05 16:56:03 +08:00

12 lines
590 B
ArmAsm

/*
* Inter-instruction transfer stub. Call out to MterpCheckBefore to handle
* any interesting requests and then jump to the real instruction
* handler. Note that the call to MterpCheckBefore is done as a tail call.
*/
.extern MterpCheckBefore
EXPORT_PC
ldr rIBASE, [rSELF, #THREAD_CURRENT_IBASE_OFFSET] @ refresh IBASE.
adrl lr, artMterpAsmInstructionStart + (${opnum} * 128) @ Addr of primary handler.
mov r0, rSELF
add r1, rFP, #OFF_FP_SHADOWFRAME
b MterpCheckBefore @ (self, shadow_frame) @ Tail call.