Skip to content

Commit

Permalink
lj_asm.c: Fix szirmcode values
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Apr 24, 2018
1 parent d64a769 commit 8c8731e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_asm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2057,7 +2057,7 @@ void lj_asm_trace(jit_State *J, GCtrace *T)
RA_DBG_REF();
checkmclim(as);
asm_ir(as, ir);
T->szirmcode[as->curins] = (uint16_t)(end - as->mcp);
T->szirmcode[as->curins - REF_BIAS] = (uint16_t)((intptr_t)end - (intptr_t)as->mcp);
}

if (as->realign && J->curfinal->nins >= T->nins)
Expand Down

0 comments on commit 8c8731e

Please sign in to comment.