TEMPLATE_INTERPRET.S revision a8b91c52fd8a90b784835dfe1f8898035266c4dd
1    /*
2     * This handler transfers control to the interpeter without performing
3     * any lookups.  It may be called either as part of a normal chaining
4     * operation, or from the transition code in header.S.  We distinquish
5     * the two cases by looking at the link register.  If called from a
6     * translation chain, it will point to the chaining Dalvik PC.
7     * On entry:
8     *    ra - if NULL:
9     *        a1 - the Dalvik PC to begin interpretation.
10     *    else
11     *        [ra] contains Dalvik PC to begin interpretation
12     *    rSELF - pointer to thread
13     *    rFP - Dalvik frame pointer
14     */
15    la      t0, dvmJitToInterpPunt
16    move    a0, a1
17    beq     ra, zero, 1f
18    lw      a0, 0(ra)
191:
20    jr      t0
21    # doesn't return
22