- get_Block_cfgpred_arr() IS supported, but should not be in the official
[libfirm] / ir / ana / absgraph.c
index efd9c0e..02adff8 100644 (file)
@@ -26,9 +26,7 @@
  *
  * Abstract graph implementations for the CFG of a ir_graph.
  */
-#ifdef HAVE_CONFIG_H
 #include <config.h>
-#endif
 
 #include "irgraph_t.h"
 #include "iredges_t.h"
@@ -37,7 +35,7 @@
 static void *irg_cfg_succ_get_root(void *self)
 {
        ir_graph *irg = self;
-       edges_activate_kind(irg, EDGE_KIND_BLOCK);
+       edges_assure_kind(irg, EDGE_KIND_BLOCK);
        return get_irg_start_block(irg);
 }