Home | History | Annotate | Download | only in mips
      1 %verify "executed"
      2 %verify "null object"
      3     /* For: iget-quick, iget-object-quick */
      4     # op vA, vB, offset                    /* CCCC */
      5     GET_OPB(a2)                            #  a2 <- B
      6     GET_VREG(a3, a2)                       #  a3 <- object we're operating on
      7     FETCH(a1, 1)                           #  a1 <- field byte offset
      8     GET_OPA4(a2)                           #  a2 <- A(+)
      9     # check object for null
     10     beqz      a3, common_errNullObject     #  object was null
     11     addu      t0, a3, a1 #
     12     lw        a0, 0(t0)                    #  a0 <- obj.field (always 32 bits)
     13     FETCH_ADVANCE_INST(2)                  #  advance rPC, load rINST
     14     GET_INST_OPCODE(t0)                    #  extract opcode from rINST
     15     SET_VREG(a0, a2)                       #  fp[A] <- a0
     16     GOTO_OPCODE(t0)                        #  jump to next instruction
     17 
     18