indentation fixed
[libfirm] / include / libfirm / irprog.h
index cd10c38..1a2e08f 100644 (file)
  * @date    2000
  * @version $Id$
  * @summary
- *  ir representation of a program.
+ *  Intermediate Representation (IR) of a program.
  *
  *  This file defines a construct that keeps all information about a
  *  program:
  *   - A reference point to the method to be executed on program start.
  *   - A list of all procedures.
  *   - A list of all types.
- *   - A global type that contais all global variables and procedures that do
+ *   - A global type that contains all global variables and procedures that do
  *     not belong to a class.  This type represents the data segment of the
  *     program.  It is not the base class of
  *     all classes in a class hierarchy (as, e.g., "object" in java).
@@ -46,7 +46,6 @@
 #include "firm_types.h"
 #include "irgraph.h"
 
-
 /**
  * Datastructure that holds central information about a program
  *
@@ -221,4 +220,10 @@ void           set_irp_ip_outs_inconsistent(void);
 irg_callee_info_state get_irp_callee_info_state(void);
 void                  set_irp_callee_info_state(irg_callee_info_state s);
 
+/** Returns a new, unique exception region number. */
+ir_exc_region_t get_irp_next_region_nr(void);
+
+/** Returns a new, unique label number. */
+ir_label_t get_irp_next_label_nr(void);
+
 #endif