never set the startblock to bad (even without the self-referencing loop)
[libfirm] / ir / ir / ircgcons.h
index d4f6e2d..2adbb35 100644 (file)
  * Copyright:   (c) 2002-2003 Universität Karlsruhe
  * Licence:     This file protected by GPL -  GNU GENERAL PUBLIC LICENSE.
  */
+#ifndef _FIRM_IR_ICGCONS_H_
+#define _FIRM_IR_ICGCONS_H_
 
-
-#ifndef _CONSTRUCT_H_
-#define _CONSTRUCT_H_
-
-
-#include "entity.h"
+#include "firm_types.h"
 
 /** The state of the interprocedural view.
  *
@@ -24,7 +21,7 @@
  */
 typedef enum {
   ip_view_no,       /**< The interprocedural view is not constructed.  There are no
-                         view specific nodes (EndReg, Filter....) in any graph.  */
+                         view specific nodes (EndReg, Filter, Break ...) in any graph.  */
   ip_view_valid,    /**< The interprocedural view is valid.  */
   ip_view_invalid   /**< The interprocedural view is invalid.  Specific nodes are
                          all still in the representation, but the graph is no more complete. */
@@ -45,12 +42,11 @@ void set_irp_ip_view_invalid(void);
  *                        are external visible.  These methods get an 'Unknown'
  *                        caller.
  * @arg arr_len           The number of free methods. */
-void cg_construct(int arr_len, entity *free_methods_arr[]);
+void cg_construct(int arr_len, ir_entity *free_methods_arr[]);
 
 
 /** Deconstruction of the interprocedural view.  Reduces memory consumption of
     the ir. Sets ip_view_no in irp. */
 void cg_destruct(void);
 
-
-#endif /* _CONSTRUCT_H_ */
+#endif /* _FIRM_IR_ICGCONS_H_ */