diff options
| author | 2026-02-18 18:18:25 +0100 | |
|---|---|---|
| committer | 2026-02-18 18:19:18 +0100 | |
| commit | 6f6c98879f2ff71f93891611e3475757b395f136 (patch) | |
| tree | f447fc32447102bd00044aa1a84abd1252ff8cd4 /ir | |
| parent | 3ac9b17e1aca31a2c01c0887272b50741d43ad76 (diff) | |
ir/dump: sanity check
Diffstat (limited to 'ir')
| -rw-r--r-- | ir/dump.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |