allwinner_a64/android/art/runtime/interpreter/mterp/mips64/op_throw.S
2018-08-08 16:48:17 +08:00

10 lines
366 B
ArmAsm

/*
* Throw an exception object in the current thread.
*/
/* throw vAA */
EXPORT_PC
srl a2, rINST, 8 # a2 <- AA
GET_VREG_U a0, a2 # a0 <- vAA (exception object)
beqzc a0, common_errNullObject
sd a0, THREAD_EXCEPTION_OFFSET(rSELF) # thread->exception <- obj
b MterpException