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

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