Remove redundant test.
authorChristoph Mallon <christoph.mallon@gmx.de>
Mon, 6 Oct 2008 08:32:09 +0000 (08:32 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Mon, 6 Oct 2008 08:32:09 +0000 (08:32 +0000)
[r22518]

ir/ana/irextbb2.c

index 2e0966c..bb64372 100644 (file)
@@ -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