Skip to content

Commit

Permalink
Print snapshot ID in pretty-print mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
nominolo committed Feb 5, 2012
1 parent abacc9f commit c5c9ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rts/PrintIR.c
Expand Up @@ -427,7 +427,7 @@ printPrettyIR_(FILE *out, Fragment *F, int fragment_id)
SnapEntry *se = &F->snapmap[snap->mapofs]; SnapEntry *se = &F->snapmap[snap->mapofs];
const BCIns *pc = F->startpc + (ptrdiff_t)(i4)se[snap->nent]; const BCIns *pc = F->startpc + (ptrdiff_t)(i4)se[snap->nent];
int fst = 1; int fst = 1;
fprintf(out, "| " COL_YELLOW "{"); fprintf(out, "| #%d " COL_YELLOW "{", s);
for (i = 0; i < F->snap[s].nent; i++, se++) { for (i = 0; i < F->snap[s].nent; i++, se++) {
IRRef r = snap_ref(*se); IRRef r = snap_ref(*se);
if (!irref_islit(r)) { if (!irref_islit(r)) {
Expand Down

0 comments on commit c5c9ecb

Please sign in to comment.