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

@@ -546,7 +546,7 @@ static ptrdiff_t finderrfunc(lua_State *L)
}
/* Runtime error. */
LJ_NOINLINE void lj_err_run(lua_State *L)
LJ_NOINLINE void LJ_FASTCALL lj_err_run(lua_State *L)
{
ptrdiff_t ef = finderrfunc(L);
if (ef) {