Call error function on rethrow after trace exit.

This commit is contained in:
Mike Pall
2020-08-09 22:50:31 +02:00
parent 12ab596997
commit e296f56b82
9 changed files with 11 additions and 15 deletions

View File

@@ -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
|
|//-----------------------------------------------------------------------