Refactor with LUA_OK.
Contributed by François Perrad.
This commit is contained in:
@@ -509,7 +509,7 @@ LJ_NOINLINE void LJ_FASTCALL lj_err_throw(lua_State *L, int errcode)
|
||||
global_State *g = G(L);
|
||||
lj_trace_abort(g);
|
||||
setmref(g->jit_base, NULL);
|
||||
L->status = 0;
|
||||
L->status = LUA_OK;
|
||||
#if LJ_UNWIND_EXT
|
||||
err_raise_ext(errcode);
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user