From: Christoph Mallon Date: Mon, 6 Oct 2008 08:32:09 +0000 (+0000) Subject: Remove redundant test. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=fa9c992b5f23e7a059ac91fdd04b409b951ebcc4;p=libfirm Remove redundant test. [r22518] --- diff --git a/ir/ana/irextbb2.c b/ir/ana/irextbb2.c index 2e0966cee..bb6437254 100644 --- a/ir/ana/irextbb2.c +++ b/ir/ana/irextbb2.c @@ -207,9 +207,7 @@ void compute_extbb_execfreqs(ir_graph *irg, ir_exec_freq *execfreqs) { /* the end block needs a extbb assigned (even for endless loops) */ endblock = get_irg_end_block(irg); - if (! irn_visited(endblock)) { - create_extblk(endblock, &env); - } + create_extblk(endblock, &env); /* Ok, we have now the list of all extended blocks starting with env.head