Call error function on rethrow after trace exit.
This commit is contained in:
@@ -2201,9 +2201,8 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
| bx OP
|
||||
|
|
||||
|3: // Rethrow error from the right C frame.
|
||||
| rsb CARG2, CARG1, #0
|
||||
| mov 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