• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%default { "helper":"UndefinedInvokeHandler" }
2    /*
3     * invoke-polymorphic handler wrapper.
4     */
5    /* op {vC, vD, vE, vF, vG}, meth@BBBB, proto@HHHH */
6    /* op {vCCCC..v(CCCC+AA-1)}, meth@BBBB, proto@HHHH */
7    .extern $helper
8    EXPORT_PC()
9    move    a0, rSELF
10    addu    a1, rFP, OFF_FP_SHADOWFRAME
11    move    a2, rPC
12    move    a3, rINST
13    JAL($helper)
14    beqz    v0, MterpException
15    FETCH_ADVANCE_INST(4)
16    JAL(MterpShouldSwitchInterpreters)
17    bnez    v0, MterpFallback
18    GET_INST_OPCODE(t0)
19    GOTO_OPCODE(t0)
20