Home | History | Annotate | Download | only in x86
      1 %default { "helper":"artSet32StaticFromCode"}
      2 /*
      3  * General SPUT handler wrapper.
      4  *
      5  * for: sput, sput-boolean, sput-byte, sput-char, sput-short
      6  */
      7     /* op vAA, field@BBBB */
      8     .extern $helper
      9     EXPORT_PC
     10     movzwl  2(rPC), %eax
     11     movl    %eax, OUT_ARG0(%esp)            # field ref BBBB
     12     GET_VREG rINST, rINST
     13     movl    rINST, OUT_ARG1(%esp)           # fp[AA]
     14     movl    OFF_FP_METHOD(rFP), %eax
     15     movl    %eax, OUT_ARG2(%esp)            # referrer
     16     movl    rSELF, %ecx
     17     movl    %ecx, OUT_ARG3(%esp)            # self
     18     call    SYMBOL($helper)
     19     testb   %al, %al
     20     jnz     MterpException
     21     RESTORE_IBASE
     22     ADVANCE_PC_FETCH_AND_GOTO_NEXT 2
     23