Home | History | Annotate | Download | only in x86
      1 /*
      2  * Unlock an object.
      3  *
      4  * Exceptions that occur when unlocking a monitor need to appear as
      5  * if they happened at the following instruction.  See the Dalvik
      6  * instruction spec.
      7  */
      8     /* monitor-exit vAA */
      9     EXPORT_PC
     10     GET_VREG %ecx, rINST
     11     movl    %ecx, OUT_ARG0(%esp)
     12     movl    rSELF, %eax
     13     movl    %eax, OUT_ARG1(%esp)
     14     call    SYMBOL(artUnlockObjectFromCode) # (object, self)
     15     RESTORE_IBASE
     16     testb   %al, %al
     17     jnz     MterpException
     18     ADVANCE_PC_FETCH_AND_GOTO_NEXT 1
     19