1    /*
2     * Synchronize on an object.
3     */
4    /* monitor-enter vAA */
5    EXPORT_PC
6    mov      r2, rINST, lsr #8           @ r2<- AA
7    GET_VREG r0, r2                      @ r0<- vAA (object)
8    mov      r1, rSELF                   @ r1<- self
9    bl       artLockObjectFromCode
10    cmp      r0, #0
11    bne      MterpException
12    FETCH_ADVANCE_INST 1
13    GET_INST_OPCODE ip                   @ extract opcode from rINST
14    GOTO_OPCODE ip                       @ jump to next instruction
15