irn_vrfy_irg () added that allows to specify tho IR graph
[libfirm] / ir / ir / irgraph_t.h
index 200831e..af39b5a 100644 (file)
@@ -72,13 +72,22 @@ struct ir_graph {
                                        every time someone walks through
                                        the graph */
   unsigned long block_visited;       /**< same as visited, for a complete block */
+#ifdef DEBUG_libfirm
+  int graph_nr;             /**< a unique graph number for each graph to make output
+                             readable. */
+#endif
 };
 
+void init_irgraph(void);
+
 /** Make a rudimentary ir graph for the constant code.
    Must look like a correct irg, spare everything else. */
-ir_graph *new_const_code_irg();
+ir_graph *new_const_code_irg(void);
 
 INLINE void
 set_irg_pinned (ir_graph *irg, op_pinned p);
 
+/** Returns the obstack associated with the graph. */
+struct obstack *get_irg_obstack(ir_graph *irg);
+
 # endif /* _IRGRAPH_T_H_ */