summaryrefslogtreecommitdiff
path: root/src/lj_record.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_record.c')
-rw-r--r--src/lj_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_record.c b/src/lj_record.c
index 9b223ff6..9466b529 100644
--- a/src/lj_record.c
+++ b/src/lj_record.c
@@ -1101,7 +1101,7 @@ static void recff_xpcall(jit_State *J, TRef *res, RecordFFData *rd)
1101 /* Need to protect rec_call because the recorder may throw. */ 1101 /* Need to protect rec_call because the recorder may throw. */
1102 rx.parg = parg; 1102 rx.parg = parg;
1103 rx.nargs = rd->nargs - 2; 1103 rx.nargs = rd->nargs - 2;
1104 errcode = lj_vm_cpcall(J->L, recff_xpcall_cp, NULL, &rx); 1104 errcode = lj_vm_cpcall(J->L, NULL, &rx, recff_xpcall_cp);
1105 /* Always undo Lua stack swap to avoid confusing the interpreter. */ 1105 /* Always undo Lua stack swap to avoid confusing the interpreter. */
1106 rd->argv = restorestack(J->L, oargv); /* Stack may have been resized. */ 1106 rd->argv = restorestack(J->L, oargv); /* Stack may have been resized. */
1107 copyTV(J->L, &rd->argv[0], &argv0); 1107 copyTV(J->L, &rd->argv[0], &argv0);