aboutsummaryrefslogtreecommitdiff
path: root/src/lj_err.c
diff options
context:
space:
mode:
authorMike Pall <mike>2010-02-19 03:13:48 +0100
committerMike Pall <mike>2010-02-19 03:13:48 +0100
commitc52da1f2da4963762e7743419d58e372e1c9ac06 (patch)
tree17c5d88b4c36c9b369ef9ad1dcd913431e019136 /src/lj_err.c
parentbbe7d818d9d9d47c48f255104166a58e7f65d3ec (diff)
downloadluajit-c52da1f2da4963762e7743419d58e372e1c9ac06.tar.gz
luajit-c52da1f2da4963762e7743419d58e372e1c9ac06.tar.bz2
luajit-c52da1f2da4963762e7743419d58e372e1c9ac06.zip
Rethrow errors from trace exit handling from the right C frame.
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 fdc06001..0aaf5497 100644
--- a/src/lj_err.c
+++ b/src/lj_err.c
@@ -695,7 +695,7 @@ static void err_raise_ext(int errcode)
695/* -- Error handling ------------------------------------------------------ */ 695/* -- Error handling ------------------------------------------------------ */
696 696
697/* Throw error. Find catch frame, unwind stack and continue. */ 697/* Throw error. Find catch frame, unwind stack and continue. */
698LJ_NOINLINE void lj_err_throw(lua_State *L, int errcode) 698LJ_NOINLINE void LJ_FASTCALL lj_err_throw(lua_State *L, int errcode)
699{ 699{
700 global_State *g = G(L); 700 global_State *g = G(L);
701 lj_trace_abort(g); 701 lj_trace_abort(g);