summaryrefslogtreecommitdiff
path: root/src/lj_trace.h
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_trace.h
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 '')
-rw-r--r--src/lj_trace.h2
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. */
34LJ_FUNC void lj_trace_ins(jit_State *J, const BCIns *pc); 34LJ_FUNC void lj_trace_ins(jit_State *J, const BCIns *pc);
35LJ_FUNCA void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc); 35LJ_FUNCA void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc);
36LJ_FUNCA void * LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); 36LJ_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)