summaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
authorMike Pall <mike>2013-08-26 18:28:58 +0200
committerMike Pall <mike>2013-08-26 18:28:58 +0200
commit5120240b77e4544b9b7405b4849a6cc63cdbbe1e (patch)
tree40bb90b12d912924bc9abf1feb12347b8db6b520 /src/lj_err.c
parentb33e96f3522e96e816cc46470b19d121bf88cfc8 (diff)
downloadluajit-5120240b77e4544b9b7405b4849a6cc63cdbbe1e.tar.gz
luajit-5120240b77e4544b9b7405b4849a6cc63cdbbe1e.tar.bz2
luajit-5120240b77e4544b9b7405b4849a6cc63cdbbe1e.zip
Use g->jit_base for on/off-trace detection.
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 7ae87a82..3b44c984 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -453,7 +453,7 @@ LJ_NOINLINE void LJ_FASTCALL lj_err_throw(lua_State *L, int errcode)
453{ 453{
454 global_State *g = G(L); 454 global_State *g = G(L);
455 lj_trace_abort(g); 455 lj_trace_abort(g);
456 setgcrefnull(g->jit_L); 456 setmref(g->jit_base, NULL);
457 L->status = 0; 457 L->status = 0;
458#if LJ_UNWIND_EXT 458#if LJ_UNWIND_EXT
459 err_raise_ext(errcode); 459 err_raise_ext(errcode);