Skip to content

Commit

Permalink
also output comments on PHI nodes
Browse files Browse the repository at this point in the history
which is almost exclusively "begin of exprjit"
comments, but still.
  • Loading branch information
timo committed Sep 26, 2018
1 parent 9332dcd commit d854292
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/spesh/dump.c
Expand Up @@ -396,15 +396,15 @@ static void dump_bb(MVMThreadContext *tc, DumpStr *ds, MVMSpeshGraph *g, MVMSpes
appendf(ds, " (not deserialized)");
}
}
if (num_comments == 1) {
ann = cur_ins->annotations;
while (ann) {
if (ann->type == MVM_SPESH_ANN_COMMENT) {
appendf(ds, " # %s", ann->data.comment);
break;
}
ann = ann->next;
}
if (num_comments == 1) {
ann = cur_ins->annotations;
while (ann) {
if (ann->type == MVM_SPESH_ANN_COMMENT) {
appendf(ds, " # %s", ann->data.comment);
break;
}
ann = ann->next;
}
}
append(ds, "\n");
Expand Down

0 comments on commit d854292

Please sign in to comment.