summaryrefslogtreecommitdiff
path: root/src/lj_debug.c
diff options
context:
space:
mode:
authorMike Pall <mike>2020-08-09 22:50:31 +0200
committerMike Pall <mike>2020-08-09 22:50:31 +0200
commite296f56b825c688c3530a981dc6b495d972f3d01 (patch)
treeb36c33746eca57f360d8275821f4f25d7098da65 /src/lj_debug.c
parent12ab596997b9cb27846a5b254d11230c3f9c50c8 (diff)
downloadluajit-e296f56b825c688c3530a981dc6b495d972f3d01.tar.gz
luajit-e296f56b825c688c3530a981dc6b495d972f3d01.tar.bz2
luajit-e296f56b825c688c3530a981dc6b495d972f3d01.zip
Call error function on rethrow after trace exit.
Diffstat (limited to 'src/lj_debug.c')
-rw-r--r--src/lj_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lj_debug.c b/src/lj_debug.c
index 1d73da7e..6863cffd 100644
--- a/src/lj_debug.c
+++ b/src/lj_debug.c
@@ -94,6 +94,7 @@ static BCPos debug_framepc(lua_State *L, GCfunc *fn, cTValue *nextframe)
94 } 94 }
95 } 95 }
96 ins = cframe_pc(cf); 96 ins = cframe_pc(cf);
97 if (!ins) return NO_BCPOS;
97 } 98 }
98 } 99 }
99 pt = funcproto(fn); 100 pt = funcproto(fn);