Call error function on rethrow after trace exit.
This commit is contained in:
@@ -2699,9 +2699,8 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
| bctr
|
||||
|
|
||||
|3: // Rethrow error from the right C frame.
|
||||
| neg CARG2, CARG1
|
||||
| mr CARG1, L
|
||||
| bl extern lj_err_throw // (lua_State *L, int errcode)
|
||||
| bl extern lj_err_run // (lua_State *L)
|
||||
|.endif
|
||||
|
|
||||
|//-----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user