X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fana%2Firtypeinfo.h;h=47c8e8022b4b14845e0c55b4bc6677c95656ef96;hb=d0d85962ef52c14950db90e5981a7bea36023ab3;hp=d39456a6da85c17d4e1762116a412641b5855e07;hpb=4a8e1e93a0641224e54ab8c5d1b84b57da944472;p=libfirm diff --git a/ir/ana/irtypeinfo.h b/ir/ana/irtypeinfo.h index d39456a6d..47c8e8022 100644 --- a/ir/ana/irtypeinfo.h +++ b/ir/ana/irtypeinfo.h @@ -19,14 +19,10 @@ * graph is valid. Further it defines an auxiliary type "init_type". * */ +#ifndef _IRTYPEINFO_H_ +#define _IRTYPEINFO_H_ - -# ifndef _IRTYPEINFO_H_ -# define _IRTYPEINFO_H_ - -# include "irgraph.h" -# include "irnode.h" -# include "type.h" +#include "firm_types.h" /* ------------ Auxiliary type. --------------------------------------- */ @@ -36,7 +32,7 @@ * variable is set by init_irtypeinfo. The type is freed by * free_irtypeinfo. */ -extern type *initial_type; +extern ir_type *initial_type; @@ -92,7 +88,7 @@ void set_irp_typeinfo_inconsistent(void); * ir_typeinfo_consistent or ir_typeinfo_inconsistent. They * assume current_ir_graph set properly. */ -type *get_irn_typeinfo_type(ir_node *n); -void set_irn_typeinfo_type(ir_node *n, type *tp); +ir_type *get_irn_typeinfo_type(ir_node *n); +void set_irn_typeinfo_type(ir_node *n, ir_type *tp); #endif /* _IRTYPEINFO_H_ */