aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir/dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'ir/dump.c')
-rw-r--r--ir/dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ir/dump.c b/ir/dump.c
index f7d005c..7e7d650 100644
--- a/ir/dump.c
+++ b/ir/dump.c
@@ -219,6 +219,9 @@ dumpblk(struct function *fn, struct block *blk)
bfmt(out, " @%d", blkpred(blk, i)->id);
}
}
+ if (fn->prop & FNDOM && blk->idom) {
+ bfmt(out, "\t; idom: @%d", blk->idom->id);
+ }
ioputc(out, '\n');
for (i = 0; i < blk->phi.n; ++i) {
struct instr *phi = &instrtab[blk->phi.p[i]];