Added exception markings to graph and cfg dumps --flo
[libfirm] / ir / ir / irprog.h
index 7e87b41..296c434 100644 (file)
@@ -85,10 +85,19 @@ void  set_irp_type(int pos, type *typ);
 /** Functions to access the fields of ir_prog **/
 type *get_glob_type(void);
 
-#ifdef DEBUG_libfirm
-/* Returns a new, unique number to number nodes or the like. */
-int get_irp_new_node_nr();
-#endif
 /*****/
 
+/***p* irprog/get_const_code_irg
+ *
+ * NAME
+ *   get_const_code_irg - Returns an irgraph that only contains constant
+ *   expressions for constant entities.
+ * SYNOPSIS
+ *   ir_graph *get_const_code_irg();
+ * NOTE
+ *   Do not use any access function for this graph, do not generate code
+ *   for this graph.
+ */
+ir_graph *get_const_code_irg();
+
 #endif /* ifndef _IRPROG_H_ */