X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firprog.h;h=1a2e08f837517df285036a5232b3cbf0b4891b1c;hb=a420be62b8532af0986530977a1258e2b39143e6;hp=cd10c38faea26c4eb00d612736b49c2c1d1ff276;hpb=1ec30d95387eb392ba5a1adc7958ebd91383d59c;p=libfirm diff --git a/include/libfirm/irprog.h b/include/libfirm/irprog.h index cd10c38fa..1a2e08f83 100644 --- a/include/libfirm/irprog.h +++ b/include/libfirm/irprog.h @@ -24,14 +24,14 @@ * @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