summaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
authorMike Pall <mike>2017-04-07 12:12:03 +0200
committerMike Pall <mike>2017-04-07 12:12:03 +0200
commit9c685f7003388725c91ef38627113015676b6d65 (patch)
tree6f7538b8073a9c74ae8d2846e1c3c6f20a68523a /src/lj_err.c
parent22dfa63283276d5dc13205680bda961ec671aef6 (diff)
downloadluajit-9c685f7003388725c91ef38627113015676b6d65.tar.gz
luajit-9c685f7003388725c91ef38627113015676b6d65.tar.bz2
luajit-9c685f7003388725c91ef38627113015676b6d65.zip
Refactor with LUA_OK.
Contributed by François Perrad.
Diffstat (limited to 'src/lj_err.c')
-rw-r--r--src/lj_err.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_err.c b/src/lj_err.c
index 049294ea..b6be357e 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -509,7 +509,7 @@ LJ_NOINLINE void LJ_FASTCALL lj_err_throw(lua_State *L, int errcode)
509 global_State *g = G(L); 509 global_State *g = G(L);
510 lj_trace_abort(g); 510 lj_trace_abort(g);
511 setmref(g->jit_base, NULL); 511 setmref(g->jit_base, NULL);
512 L->status = 0; 512 L->status = LUA_OK;
513#if LJ_UNWIND_EXT 513#if LJ_UNWIND_EXT
514 err_raise_ext(errcode); 514 err_raise_ext(errcode);
515 /* 515 /*