summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bechordal_common.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2012-12-15 00:16:17 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2012-12-15 22:03:44 +0100
commit552fbc58ec9d3f1623cee651661061c59f367b05 (patch)
treea3052fc17d8ab38902aad7d26a6d43b7fd1507c2 /ir/be/bechordal_common.c
parent12e124bcc9ed93a4037c5122d23e8a6c87f5ef46 (diff)
bechordal: assert(), instead of test, that the remaining nodes are live-in in create_borders().
Diffstat (limited to 'ir/be/bechordal_common.c')
-rw-r--r--ir/be/bechordal_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c
index 97882dc..a179117 100644
--- a/ir/be/bechordal_common.c
+++ b/ir/be/bechordal_common.c
@@ -157,8 +157,8 @@ void create_borders(ir_node *block, void *env_ptr)
}
foreach_ir_nodeset(&live, irn, iter) {
- if (be_is_live_in(lv, block, irn))
- border_def(irn, step, 0);
+ assert(be_is_live_in(lv, block, irn));
+ border_def(irn, step, 0);
}
ir_nodeset_destroy(&live);