X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firtypes.h;h=f400d5a36c3e6180ab1c41e7ec77214c4a32079a;hb=b597c7fd473086ca6374b2abbdf129f595c156d0;hp=823b4039755ac47f2714ede4f7bb6469add14e7e;hpb=6aac59aee3a4d2c1ec050af2b9a2ac12ded488f7;p=libfirm diff --git a/ir/ir/irtypes.h b/ir/ir/irtypes.h index 823b40397..f400d5a36 100644 --- a/ir/ir/irtypes.h +++ b/ir/ir/irtypes.h @@ -37,6 +37,7 @@ #include "execution_frequency.h" #include "irmemory.h" #include "callgraph.h" +#include "irprog.h" #include "field_temperature.h" #include "irphases_t.h" @@ -509,10 +510,7 @@ struct ir_graph { #endif #ifndef NDEBUG - unsigned using_irn_visited : 1; /**< set to 1 if we are currently using the visited flag */ - unsigned using_block_visited : 1; /**< set to 1 if we are currently using the block_visited flag */ - unsigned using_irn_link : 1; /**< set to 1 if we are currently using the irn_link fields */ - unsigned using_block_mark : 1; /**< set to 1 if we are currently using the block mark flags */ + ir_resources_t reserved_resources; #endif }; @@ -528,15 +526,11 @@ struct ir_prog { to allocate nodes the represent values of constant entities. It is not meant as a procedure. */ - ir_type *glob_type; /**< The global type. Must be a class as it can - have fields and procedures. */ - ir_type *tls_type; /**< The thread local storage type. Must be a struct as it can - only have fields. */ - ir_type *constructors_type; /**< contains links to module constructor - functions. Must be a struct */ + ir_type *segment_types[IR_SEGMENT_COUNT]; ir_type **types; /**< A list of all types in the ir. */ ir_mode **modes; /**< A list of all modes in the ir. */ ir_op **opcodes; /**< A list of all opcodes in the ir. */ + ident **global_asms; /**< An array of global ASM insertions. */ /* -- states of and access to generated information -- */ irg_phase_state phase_state; /**< The state of construction. */