Rethrow errors from trace exit handling from the right C frame.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user