Skip to content

Commit

Permalink
LJ_GC64: Fix BC_CALLM snapshot handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Pall committed Mar 20, 2017
1 parent fa126c5 commit 024ade7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -894,7 +894,7 @@ int LJ_FASTCALL lj_trace_exit(jit_State *J, void *exptr)
ERRNO_RESTORE
switch (bc_op(*pc)) {
case BC_CALLM: case BC_CALLMT:
return (int)((BCReg)(L->top - L->base) - bc_a(*pc) - bc_c(*pc) + LJ_FR2);
return (int)((BCReg)(L->top - L->base) - bc_a(*pc) - bc_c(*pc) - LJ_FR2);
case BC_RETM:
return (int)((BCReg)(L->top - L->base) + 1 - bc_a(*pc) - bc_d(*pc));
case BC_TSETM:
Expand Down

0 comments on commit 024ade7

Please sign in to comment.