android_mt6572_jiabo/art/runtime/interpreter/mterp/arm64/op_throw.S
2025-09-05 16:56:03 +08:00

10 lines
374 B
ArmAsm

/*
* Throw an exception object in the current thread.
*/
/* throw vAA */
EXPORT_PC
lsr w2, wINST, #8 // r2<- AA
GET_VREG w1, w2 // r1<- vAA (exception object)
cbz w1, common_errNullObject
str x1, [xSELF, #THREAD_EXCEPTION_OFFSET] // thread->exception<- obj
b MterpException