1/* 2 * Check to see if a cast from one class to another is allowed. 3 */ 4 /* check-cast vAA, class@BBBB */ 5 EXPORT_PC 6 movzwq 2(rPC), OUT_ARG0 # OUT_ARG0 <- BBBB 7 leaq VREG_ADDRESS(rINSTq), OUT_ARG1 8 movq OFF_FP_METHOD(rFP), OUT_ARG2 9 movq rSELF, OUT_ARG3 10 call SYMBOL(MterpCheckCast) # (index, &obj, method, self) 11 testb %al, %al 12 jnz MterpPossibleException 13 ADVANCE_PC_FETCH_AND_GOTO_NEXT 2 14