Fixed typos, improved docu
[libfirm] / ir / ir / irgraph.h
index 587b2d0..1500e8f 100644 (file)
@@ -17,8 +17,8 @@
  *
  * @author Martin Trapp, Christian Schaefer
  */
-#ifndef _IRGRAPH_H_
-#define _IRGRAPH_H_
+#ifndef _FIRM_IR_IRGRAPH_H_
+#define _FIRM_IR_IRGRAPH_H_
 
 #include <stddef.h>
 
@@ -210,12 +210,6 @@ void     set_irg_end_reg (ir_graph *irg, ir_node *node);
 ir_node *get_irg_end_except (const ir_graph *irg);
 void     set_irg_end_except (ir_graph *irg, ir_node *node);
 
-
-/* @@@ oblivious, no more supported. */
-ir_node *get_irg_cstore (const ir_graph *irg);
-void     set_irg_cstore (ir_graph *irg, ir_node *node);
-/* end oblivious */
-
 /** Returns the node that represents the frame pointer. */
 ir_node *get_irg_frame (const ir_graph *irg);
 /** Sets the node that represents the frame pointer. */
@@ -481,6 +475,9 @@ void *get_irg_loc_description(ir_graph *irg, int n);
  */
 unsigned get_irg_estimated_node_cnt(const ir_graph *irg);
 
+/** Returns the last irn index for this graph. */
+unsigned get_irg_last_idx(const ir_graph *irg);
+
 /**
  * Access custom graph data.
  * The data must have been registered with
@@ -511,4 +508,4 @@ unsigned get_irg_estimated_node_cnt(const ir_graph *irg);
  */
 size_t register_additional_graph_data(size_t size);
 
-# endif /* _IRGRAPH_H_ */
+#endif /* _FIRM_IR_IRGRAPH_H_ */