1 %verify "executed" 2 %verify "exception for null object" 3 /* 4 * Synchronize on an object. 5 */ 6 /* monitor-enter vAA */ 7 GET_OPA(a2) # a2 <- AA 8 GET_VREG(a1, a2) # a1 <- vAA (object) 9 move a0, rSELF # a0 <- self 10 EXPORT_PC() # export PC so we can grab stack trace 11 # null object? 12 beqz a1, common_errNullObject # null object, throw an exception 13 FETCH_ADVANCE_INST(1) # advance rPC, load rINST 14 JAL(dvmLockObject) # call(self, obj) 15 GET_INST_OPCODE(t0) # extract opcode from rINST 16 GOTO_OPCODE(t0) # jump to next instruction 17 18