From: Christoph Mallon Date: Fri, 14 Dec 2012 23:16:17 +0000 (+0100) Subject: bechordal: assert(), instead of test, that the remaining nodes are live-in in create_... X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=552fbc58ec9d3f1623cee651661061c59f367b05;hp=12e124bcc9ed93a4037c5122d23e8a6c87f5ef46;p=libfirm bechordal: assert(), instead of test, that the remaining nodes are live-in in create_borders(). --- diff --git a/ir/be/bechordal_common.c b/ir/be/bechordal_common.c index 97882dc8b..a179117e5 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);