Loop inversion: Fixed bug in find_condition_chain and construct_ssa, which prevented...
[libfirm] / ir / ana / ircfscc.c
index 50cc712..b112bd2 100644 (file)
@@ -666,8 +666,10 @@ int construct_cf_backedges(ir_graph *irg)
        struct obstack temp;
        int i;
 
+#ifdef INTERPROCEDURAL_VIEW
        assert(!get_interprocedural_view() &&
                "use construct_ip_cf_backedges()");
+#endif
        max_loop_depth = 0;
 
        current_ir_graph   = irg;
@@ -788,6 +790,7 @@ int construct_ip_cf_backedges (void)
 }
 #endif
 
+#if 0
 /**
  * Clear the intra- and the interprocedural
  * backedge information pf a block.
@@ -828,7 +831,7 @@ static void loop_reset_backedges(ir_loop *l)
 
 /* Removes all cfloop information.
    Resets all backedges */
-void free_cfloop_information(ir_graph *irg)
+static void free_cfloop_information(ir_graph *irg)
 {
        ir_loop *loop = get_irg_loop(irg);
        if (loop != NULL) {
@@ -854,3 +857,5 @@ void free_all_cfloop_information(void)
        set_interprocedural_view(rem);
 #endif
 }
+
+#endif