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

11 lines
322 B
ArmAsm

/*
* Throw an exception object in the current thread.
*/
/* throw vAA */
EXPORT_PC
GET_VREG %eax, rINST # eax<- vAA (exception object)
testl %eax, %eax
jz common_errNullObject
movl rSELF,%ecx
movl %eax, THREAD_EXCEPTION_OFFSET(%ecx)
jmp MterpException