1%verify "executed"
2%verify "exception for null object"
3    /*
4     * Throw an exception object in the current thread.
5     */
6    /* throw vAA */
7    EXPORT_PC
8    GET_VREG_R %eax rINST              # eax<- exception object
9    movl     rSELF,%ecx                # ecx<- self
10    testl    %eax,%eax                 # null object?
11    je       common_errNullObject
12    movl     %eax,offThread_exception(%ecx) # thread->exception<- obj
13    jmp      common_exceptionThrown
14