aboutsummaryrefslogtreecommitdiff
path: root/src/lj_trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_trace.c')
-rw-r--r--src/lj_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_trace.c b/src/lj_trace.c
index a0748b40..54f23cb2 100644
--- a/src/lj_trace.c
+++ b/src/lj_trace.c
@@ -534,7 +534,7 @@ static TValue *trace_state(lua_State *L, lua_CFunction dummy, void *ud)
534/* A bytecode instruction is about to be executed. Record it. */ 534/* A bytecode instruction is about to be executed. Record it. */
535void lj_trace_ins(jit_State *J) 535void lj_trace_ins(jit_State *J)
536{ 536{
537 while (lj_vm_cpcall(J->L, trace_state, NULL, (void *)J) != 0) 537 while (lj_vm_cpcall(J->L, NULL, (void *)J, trace_state) != 0)
538 J->state = LJ_TRACE_ERR; 538 J->state = LJ_TRACE_ERR;
539} 539}
540 540