Home | History | Annotate | Download | only in x86
      1 /*
      2  * Create a new instance of a class.
      3  */
      4     /* new-instance vAA, class@BBBB */
      5     EXPORT_PC
      6     leal    OFF_FP_SHADOWFRAME(rFP), %eax
      7     movl    %eax, OUT_ARG0(%esp)
      8     movl    rSELF, %ecx
      9     movl    %ecx, OUT_ARG1(%esp)
     10     REFRESH_INST ${opnum}
     11     movl    rINST, OUT_ARG2(%esp)
     12     call    SYMBOL(MterpNewInstance)
     13     RESTORE_IBASE
     14     testb   %al, %al                        # 0 means an exception is thrown
     15     jz      MterpPossibleException
     16     ADVANCE_PC_FETCH_AND_GOTO_NEXT 2
     17