X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firtypes.h;h=6e3715e2b7a41ff8714172c79531a449d60d4049;hb=1dda364d51a065159f1fa8f3b4a175a56dc78030;hp=823b4039755ac47f2714ede4f7bb6469add14e7e;hpb=7006f996d7fb6964910758b255205fe27e097c31;p=libfirm diff --git a/ir/ir/irtypes.h b/ir/ir/irtypes.h index 823b40397..6e3715e2b 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" @@ -528,12 +529,7 @@ 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. */