removed exc.h from libfirm interface
[libfirm] / ir / ir / ircgcons.c
index 1b8377e..be6d0f8 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Project:     libFIRM
- * File name:   ir/common
+ * File name:   ir/ir/ircgcons.c
  * Purpose:     Construction and removal of interprocedural representation
  *              (explicit interprocedural dependencies).
  * Author:      Hubert Schmid
@@ -13,6 +13,7 @@
 
 
 #include <string.h>
+#include <stdbool.h>
 #include "ircgcons.h"
 
 #include "array.h"
@@ -21,7 +22,6 @@
 #include "irgmod.h"
 #include "irgwalk.h"
 #include "irflag.h"
-#include "misc.h"
 
 
 /* Datenstruktur für jede Methode */
@@ -395,7 +395,7 @@ static void construct_start(entity * caller, entity * callee,
   ir_node * start = get_irg_start(irg), * filter;
 
   assert(irg);
-  assert(get_entity_peculiarity(callee) == existent); /* Else data is not initalized. */
+  assert(get_entity_peculiarity(callee) == peculiarity_existent); /* Else data is not initalized. */
   assert((0 <= data->count) &&
         (data->count < get_Block_cg_n_cfgpreds(get_nodes_Block(start))));
   set_Block_cg_cfgpred(get_nodes_Block(start), data->count, exec);