1/*
2 * Synchronize on an object.
3 */
4    /* monitor-enter vAA */
5    EXPORT_PC
6    GET_VREG %ecx, rINST
7    movl    %ecx, OUT_ARG0(%esp)
8    movl    rSELF, %eax
9    movl    %eax, OUT_ARG1(%esp)
10    call    SYMBOL(artLockObjectFromCode)   # (object, self)
11    RESTORE_IBASE
12    testb   %al, %al
13    jnz     MterpException
14    ADVANCE_PC_FETCH_AND_GOTO_NEXT 1
15