Call error function on rethrow after trace exit.
This commit is contained in:
@@ -3060,10 +3060,8 @@ static void build_subroutines(BuildCtx *ctx)
|
||||
|.endif
|
||||
|
|
||||
|3: // Rethrow error from the right C frame.
|
||||
| neg RD
|
||||
| mov FCARG1, L:RB
|
||||
| mov FCARG2, RD
|
||||
| call extern lj_err_throw@8 // (lua_State *L, int errcode)
|
||||
| call extern lj_err_run@4 // (lua_State *L)
|
||||
|.endif
|
||||
|
|
||||
|//-----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user