From: Michael Beck Date: Mon, 24 Apr 2006 13:01:09 +0000 (+0000) Subject: Fixed keep-alive visiting for extbb walker X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=a9ee2b1a5617058955324f719cfe493d01d36609;p=libfirm Fixed keep-alive visiting for extbb walker [r7652] --- diff --git a/ir/ana/irextbb.c b/ir/ana/irextbb.c index 9ffde7041..789cb2567 100644 --- a/ir/ana/irextbb.c +++ b/ir/ana/irextbb.c @@ -446,7 +446,7 @@ void irg_extblock_walk(ir_extblk *blk, extbb_walk_func *pre, extbb_walk_func *po irg_extblock_walk_2(blk, pre, post, env); /* keepalive: the endless loops ... */ - if (get_extbb_leader(blk) == get_irg_end_block(current_ir_graph)) { + if (blk == get_Block_extbb(get_irg_end_block(current_ir_graph))) { ir_node *node = get_irg_end(current_ir_graph); int arity = get_irn_arity(node); for (i = 0; i < arity; i++) {