Commit 373207f7 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

tr: Remove the write-only type flags 'tf_global_type' and 'tf_tls_type'.

parent 34258536
......@@ -61,8 +61,8 @@ static void complete_ir_prog(ir_prog *irp, const char *module_name)
ir_init_entity(irp);
irp->name = new_id_from_str(module_name);
irp->segment_types[IR_SEGMENT_GLOBAL] = new_type_segment(NEW_IDENT("GlobalType"), tf_global_type);
irp->segment_types[IR_SEGMENT_THREAD_LOCAL] = new_type_segment(NEW_IDENT("ThreadLocal"), tf_tls_type);
irp->segment_types[IR_SEGMENT_GLOBAL] = new_type_segment(NEW_IDENT("GlobalType"), tf_none);
irp->segment_types[IR_SEGMENT_THREAD_LOCAL] = new_type_segment(NEW_IDENT("ThreadLocal"), tf_none);
irp->segment_types[IR_SEGMENT_CONSTRUCTORS] = new_type_segment(NEW_IDENT("Constructors"), tf_info);
irp->segment_types[IR_SEGMENT_DESTRUCTORS] = new_type_segment(NEW_IDENT("Destructors"), tf_info);
irp->segment_types[IR_SEGMENT_JCR] = new_type_segment(NEW_IDENT("Java Class Registry"), tf_info);
......
......@@ -93,11 +93,9 @@ typedef enum type_flags {
tf_layout_fixed = 1U << 2, /**< Set if the layout of a type is fixed */
tf_frame_type = 1U << 3, /**< Set if this is a frame type. */
tf_global_type = 1U << 4, /**< Set only for the global type */
tf_tls_type = 1U << 5, /**< Set only for the tls type */
tf_info = 1U << 6, /**< infos (for example constructor, destructor pointers), all members are anonymous */
tf_variable_size = 1U << 7, /**< compound or array type may have variable size last element */
tf_lowered_dw = 1U << 8, /**< hack to identify lowered doubleword params */
tf_info = 1U << 4, /**< infos (for example constructor, destructor pointers), all members are anonymous */
tf_variable_size = 1U << 5, /**< compound or array type may have variable size last element */
tf_lowered_dw = 1U << 6, /**< hack to identify lowered doubleword params */
} type_flags;
ENUM_BITSET(type_flags)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment