Added next_region_nr attribute to the ir_prog.
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 3 Jun 2007 14:07:06 +0000 (14:07 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 3 Jun 2007 14:07:06 +0000 (14:07 +0000)
[r14293]

include/libfirm/irprog.h

index cd10c38..1037562 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,7 @@ 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. */
+unsigned long get_irp_next_region_nr(void);
+
 #endif