X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftype_t.h;h=65eb07a713eea52df4d62995960d5525cfc4b3b7;hb=1378b3dc871c6dc37488de756bd1022665c125d8;hp=19685bde2f5b63b2f94d393d77cfae6e7c777624;hpb=274626e2d58cfa247b88ee05adaca8906b025d93;p=libfirm diff --git a/ir/tr/type_t.h b/ir/tr/type_t.h index 19685bde2..65eb07a71 100644 --- a/ir/tr/type_t.h +++ b/ir/tr/type_t.h @@ -139,6 +139,7 @@ enum type_flags { tf_tls_type = 1U << 5, /**< Set only for the tls type */ tf_constructors = 1U << 6, /**< Set only for the constructors segment type */ tf_destructors = 1U << 7, /**< Set only for the destructors segment type */ + tf_variable_size = 1U << 8, /**< compound or array type may have variable size last element */ }; ENUM_BITSET(type_flags) @@ -185,18 +186,7 @@ struct ir_type { last entry in this struct! Varying size! */ }; -/** - * Creates a new type representation: - * - * @param type_op the kind of this type. May not be type_id. - * @param mode the mode to be used for this type, may be NULL - * @param db debug info - * - * @return A new type of the given type. The remaining private attributes are not - * initialized. The type is in state layout_undefined. - */ -ir_type *new_type(const tp_op *type_op, ir_mode *mode, type_dbg_info *db); -void free_type_attrs(ir_type *tp); +void free_type_entities(ir_type *tp); void free_class_entities (ir_type *clss); void free_struct_entities (ir_type *strct);