add rbitset_w_size_obstack_alloc(), rbitset_is_empty()
[libfirm] / include / libfirm / ircgcons.h
index 2f627b1..d001a3c 100644 (file)
 #ifndef FIRM_IR_IRCGCONS_H
 #define FIRM_IR_IRCGCONS_H
 
-#include "firm_types.h"
+#include "firm_config.h"
 
-/** The state of the interprocedural view.
- *
- * This value indicates the state of the interprocedural view.
- */
-typedef enum {
-  ip_view_no,       /**< The interprocedural view is not constructed.  There are no
-                         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. */
-} ip_view_state;
+#ifdef INTERPROCEDURAL_VIEW
+
+#include "firm_types.h"
 
 /** Return the current state of the interprocedural view. */
 ip_view_state get_irp_ip_view_state(void);
@@ -65,3 +57,5 @@ void cg_construct(int arr_len, ir_entity *free_methods_arr[]);
 void cg_destruct(void);
 
 #endif
+
+#endif