X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firprog.h;h=52f8b4b97f0f5cc0b9086977c1b46a6f8f1aec21;hb=8ac7f010beb0c30fcbae390e6582661f9f98d417;hp=3cedd743c51768436ded5d6ac89bf7342e61a0fa;hpb=01d6ff5aca9c8288a379858e3a828f64aa0ea136;p=libfirm diff --git a/ir/ir/irprog.h b/ir/ir/irprog.h index 3cedd743c..52f8b4b97 100644 --- a/ir/ir/irprog.h +++ b/ir/ir/irprog.h @@ -37,6 +37,7 @@ # include "irnode.h" # include "type.h" +# include "irgraph.h" /** @@ -132,23 +133,23 @@ ir_graph *get_irp_allirg(int pos); /** Returns the "global" type of the irp. */ -type *get_glob_type(void); +ir_type *get_glob_type(void); /** Adds type to the list of types in irp. */ -void add_irp_type(type *typ); +void add_irp_type(ir_type *typ); /** Removes type from the list of types, deallocates it and shrinks the list by one. */ -void remove_irp_type(type *typ); +void remove_irp_type(ir_type *typ); /** Returns the number of all types in the irp. */ int get_irp_n_types(void); /** Returns the type at position pos in the irp. */ -type *get_irp_type(int pos); +ir_type *get_irp_type(int pos); /** Overwrites the type at position pos with another type. */ -void set_irp_type(int pos, type *typ); +void set_irp_type(int pos, ir_type *typ); /** Returns the number of all modes in the irp. */ int get_irp_n_modes(void);