diff options
author | Mike Pall <mike> | 2010-02-19 03:13:48 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2010-02-19 03:13:48 +0100 |
commit | c52da1f2da4963762e7743419d58e372e1c9ac06 (patch) | |
tree | 17c5d88b4c36c9b369ef9ad1dcd913431e019136 /src/lj_trace.h | |
parent | bbe7d818d9d9d47c48f255104166a58e7f65d3ec (diff) | |
download | luajit-c52da1f2da4963762e7743419d58e372e1c9ac06.tar.gz luajit-c52da1f2da4963762e7743419d58e372e1c9ac06.tar.bz2 luajit-c52da1f2da4963762e7743419d58e372e1c9ac06.zip |
Rethrow errors from trace exit handling from the right C frame.
Diffstat (limited to '')
-rw-r--r-- | src/lj_trace.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_trace.h b/src/lj_trace.h index a8e45974..6944bd9c 100644 --- a/src/lj_trace.h +++ b/src/lj_trace.h | |||
@@ -33,7 +33,7 @@ LJ_FUNC void lj_trace_freestate(global_State *g); | |||
33 | /* Event handling. */ | 33 | /* Event handling. */ |
34 | LJ_FUNC void lj_trace_ins(jit_State *J, const BCIns *pc); | 34 | LJ_FUNC void lj_trace_ins(jit_State *J, const BCIns *pc); |
35 | LJ_FUNCA void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc); | 35 | LJ_FUNCA void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc); |
36 | LJ_FUNCA void * LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); | 36 | LJ_FUNCA int LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); |
37 | 37 | ||
38 | /* Signal asynchronous abort of trace or end of trace. */ | 38 | /* Signal asynchronous abort of trace or end of trace. */ |
39 | #define lj_trace_abort(g) (G2J(g)->state &= ~LJ_TRACE_ACTIVE) | 39 | #define lj_trace_abort(g) (G2J(g)->state &= ~LJ_TRACE_ACTIVE) |