blob: 4c98917a39ed1262769c7188909cbd702a4a1e97 [file] [log] [blame]
/*
* TODO: figure out how best to do this on x86, as we don't have
* an lr equivalent and probably don't want to push.
*
* This handler transfers control to the interpeter without performing
* any lookups. It may be called either as part of a normal chaining
* operation, or from the transition code in header.S. We distinquish
* the two cases by looking at the link register. If called from a
* translation chain, it will point to the chaining Dalvik PC -3.
* On entry:
* lr - if NULL:
* r1 - the Dalvik PC to begin interpretation.
* else
* [lr, #3] contains Dalvik PC to begin interpretation
* rGLUE - pointer to interpState
* rFP - Dalvik frame pointer
*
*cmp lr, #0
*ldrne r1,[lr, #3]
*ldr r2, .LinterpPunt
*mov r0, r1 @ set Dalvik PC
*bx r2
*@ doesn't return
*/
.LinterpPunt:
.long dvmJitToInterpPunt