Home | History | Annotate | Download | only in mips
      1 %default { "helper":"UndefinedInvokeHandler" }
      2     /*
      3      * Generic invoke handler wrapper.
      4      */
      5     # op vB, {vD, vE, vF, vG, vA}, class   /* CCCC */
      6     # op {vCCCC..v(CCCC+AA-1)}, meth       /* BBBB */
      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(3)
     16     JAL(MterpShouldSwitchInterpreters)
     17     bnez    v0, MterpFallback
     18     GET_INST_OPCODE(t0)
     19     GOTO_OPCODE(t0)
     20