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 movzwq 2(rPC), OUT_ARG0 # field ref BBBB 11 GET_VREG OUT_32_ARG1, rINSTq # fp[AA] 12 movq OFF_FP_METHOD(rFP), OUT_ARG2 # referrer 13 movq rSELF, OUT_ARG3 # self 14 call SYMBOL($helper) 15 testb %al, %al 16 jnz MterpException 17 ADVANCE_PC_FETCH_AND_GOTO_NEXT 2 18