• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1    /*
2     * Throw an exception object in the current thread.
3     */
4    /* throw vAA */
5    EXPORT_PC
6    lsr      w2, wINST, #8               // r2<- AA
7    GET_VREG w1, w2                      // r1<- vAA (exception object)
8    cbz      w1, common_errNullObject
9    str      x1, [xSELF, #THREAD_EXCEPTION_OFFSET]  // thread->exception<- obj
10    b        MterpException
11