Skip to content

Commit

Permalink
fixup! lj_auditlog.c: Log GCtrace->irmcodesz (IR-mcode mapping)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukego committed Apr 24, 2018
1 parent 44fbf8e commit d64a769
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lj_auditlog.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ static void log_GCtrace(GCtrace *T)
log_mem("SnapShot[]", T->snap, T->nsnap * sizeof(*T->snap));
log_mem("SnapEntry[]", T->snapmap, T->nsnapmap * sizeof(*T->snapmap));
log_mem("IRIns[]", &T->ir[T->nk], (T->nins - T->nk + 1) * sizeof(IRIns));
log_mem("uint16_t[]", &T->szirmcode, (T->nins - REF_BIAS - 1) * sizeof(uint16_t));
log_mem("uint16_t[]", T->szirmcode, (T->nins - REF_BIAS - 1) * sizeof(uint16_t));
for (ref = T->nk; ref < REF_TRUE; ref++) {
IRIns *ir = &T->ir[ref];
if (ir->o == IR_KGC) {
Expand Down

0 comments on commit d64a769

Please sign in to comment.