From c52da1f2da4963762e7743419d58e372e1c9ac06 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Fri, 19 Feb 2010 03:13:48 +0100 Subject: Rethrow errors from trace exit handling from the right C frame. --- src/lj_trace.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lj_trace.h') 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); /* Event handling. */ LJ_FUNC void lj_trace_ins(jit_State *J, const BCIns *pc); LJ_FUNCA void LJ_FASTCALL lj_trace_hot(jit_State *J, const BCIns *pc); -LJ_FUNCA void * LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); +LJ_FUNCA int LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr); /* Signal asynchronous abort of trace or end of trace. */ #define lj_trace_abort(g) (G2J(g)->state &= ~LJ_TRACE_ACTIVE) -- cgit v1.2.3-55-g6feb