Home | History | Annotate | Download | only in mips
      1     /*
      2      * Synchronize on an object.
      3      */
      4     /* monitor-enter vAA */
      5     EXPORT_PC()
      6     GET_OPA(a2)                            # a2 <- AA
      7     GET_VREG(a0, a2)                       # a0 <- vAA (object)
      8     move   a1, rSELF                       # a1 <- self
      9     JAL(artLockObjectFromCode)             # v0 <- artLockObject(obj, self)
     10     bnez v0, MterpException
     11     FETCH_ADVANCE_INST(1)                  # advance rPC, load rINST
     12     GET_INST_OPCODE(t0)                    # extract opcode from rINST
     13     GOTO_OPCODE(t0)                        # jump to next instruction
     14