• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%verify "executed"
2%verify "null object"
3    /* For: iget-quick, iget-object-quick */
4    /* op vA, vB, offset@CCCC */
5    mov     r2, rINST, lsr #12          @ r2<- B
6    FETCH(r1, 1)                        @ r1<- field byte offset
7    GET_VREG(r3, r2)                    @ r3<- object we're operating on
8    ubfx    r2, rINST, #8, #4           @ r2<- A
9    cmp     r3, #0                      @ check object for null
10    beq     common_errNullObject        @ object was null
11    ldr     r0, [r3, r1]                @ r0<- obj.field (always 32 bits)
12    FETCH_ADVANCE_INST(2)               @ advance rPC, load rINST
13    SET_VREG(r0, r2)                    @ fp[A]<- r0
14    GET_INST_OPCODE(ip)                 @ extract opcode from rINST
15    GOTO_OPCODE(ip)                     @ jump to next instruction
16