Home | History | Annotate | Download | only in arm
      1     /*
      2      * Throw an exception object in the current thread.
      3      */
      4     /* throw vAA */
      5     EXPORT_PC
      6     mov      r2, rINST, lsr #8           @ r2<- AA
      7     GET_VREG r1, r2                      @ r1<- vAA (exception object)
      8     cmp      r1, #0                      @ null object?
      9     beq      common_errNullObject        @ yes, throw an NPE instead
     10     str      r1, [rSELF, #THREAD_EXCEPTION_OFFSET]  @ thread->exception<- obj
     11     b        MterpException
     12