change pn_XXX_max enum to really be the maximum pn and not maximum+1, add n_XXX_max...
[libfirm] / ir / be / bestate.h
index 42bae84..0aa34c6 100644 (file)
@@ -52,8 +52,8 @@ typedef ir_node *(*create_reload_func) (void *env, ir_node *value,
  * This functions asserts that the state is switched to fullfill all state
  * requirements of nodes.
  */
-void be_assure_state(be_irg_t *birg, const arch_register_t *reg, void *func_env,
+void be_assure_state(ir_graph *irg, const arch_register_t *reg, void *func_env,
                      create_spill_func spill_func,
                      create_reload_func reload_func);
 
-#endif /* FIRM_BE_BESTATE_H */
+#endif