aboutsummaryrefslogtreecommitdiffhomepage
path: root/ir
diff options
context:
space:
mode:
Diffstat (limited to 'ir')
-rw-r--r--ir/dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/dump.c b/ir/dump.c
index f952292..cf8d788 100644
--- a/ir/dump.c
+++ b/ir/dump.c
@@ -296,6 +296,7 @@ irdump(struct function *fn)
numberinstrs(fn);
blk = fn->entry;
do {
+ assert(blk->lprev->lnext == blk);
dumpblk(fn, blk);
assert(blk->lnext != NULL);
} while ((blk = blk->lnext) != fn->entry);