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