1/* 2 * Return the length of an array. 3 */ 4 mov rINST, %eax # eax <- BA 5 sarl $$4, rINST # rINST <- B 6 GET_VREG %ecx, rINST # ecx <- vB (object ref) 7 testl %ecx, %ecx # is null? 8 je common_errNullObject 9 andb $$0xf, %al # eax <- A 10 movl MIRROR_ARRAY_LENGTH_OFFSET(%ecx), rINST 11 SET_VREG rINST, %eax 12 ADVANCE_PC_FETCH_AND_GOTO_NEXT 1 13