Used new arch_dep names
[libfirm] / ir / ir / irprog.c
index 5c46830..1c5bc9b 100644 (file)
@@ -146,7 +146,6 @@ ir_graph *(get_irp_irg)(int pos){
 void set_irp_irg(int pos, ir_graph *irg) {
   assert (irp && irg);
   assert (pos < (ARR_LEN((irp)->graphs)));
-  /* Strangely the first element of the array is NULL.  Why??  */
   irp->graphs[pos] = irg;
 }
 
@@ -172,7 +171,6 @@ type *(get_irp_type) (int pos) {
 void  set_irp_type(int pos, type *typ) {
   assert (irp && typ);
   assert (pos < (ARR_LEN((irp)->types)));
-  /* Strangely the first element of the array is NULL.  Why??  */
   irp->types[pos] = typ;
 }
 
@@ -218,3 +216,12 @@ ir_node** get_irp_ip_outedges(void)
 {
   return(irp -> ip_outedges);
 }
+
+
+irg_callee_info_state get_irp_callee_info_state(void) {
+  return irp->callee_info_state;
+}
+
+void set_irp_callee_info_state(irg_callee_info_state s) {
+  irp->callee_info_state = s;
+}