OSDN Git Service

Dalvik fast interpreter support and JIT implementation
[android-x86/dalvik.git] / vm / mterp / mips / OP_MOVE_EXCEPTION.S
1 %verify "executed"
2     /* move-exception vAA */
3     GET_OPA(a2)                            #  a2 <- AA
4     LOAD_offThread_exception(a3, rSELF)    #  a3 <- dvmGetException bypass
5     li        a1, 0                        #  a1 <- 0
6     FETCH_ADVANCE_INST(1)                  #  advance rPC, load rINST
7     SET_VREG(a3, a2)                       #  fp[AA] <- exception obj
8     GET_INST_OPCODE(t0)                    #  extract opcode from rINST
9     STORE_offThread_exception(a1, rSELF)   #  dvmClearException bypass
10     GOTO_OPCODE(t0)                        #  jump to next instruction