re PR objc/16546 ([unit-at-a-time] Solaris 10/x86 libobjc bootstrap failure: invalid assembler code)

2004-11-08  Andrew Pinski  <pinskia@physics.uc.edu>

        PR objc/16546
        * objc-act.c (generate_method_descriptors): Remove setting
        the new decls' type to variable_length_type.
        (generate_ivar_lists): Likewise.
        (generate_dispatch_tables): Likewise.

From-SVN: r90304
This commit is contained in:
Andrew Pinski 2004-11-08 21:34:36 +00:00 committed by Andrew Pinski
parent c7fa97d960
commit 3a723ff6e5
2 changed files with 8 additions and 13 deletions

View File

@ -1,3 +1,11 @@
2004-11-08 Andrew Pinski <pinskia@physics.uc.edu>
PR objc/16546
* objc-act.c (generate_method_descriptors): Remove setting
the new decls' type to variable_length_type.
(generate_ivar_lists): Likewise.
(generate_dispatch_tables): Likewise.
2004-10-30 Ziemowit Laski <zlaski@apple.com>
* objc-act.c (objc_lookup_ivar): The new OTHER parameter

View File

@ -3773,9 +3773,6 @@ static void
generate_method_descriptors (tree protocol)
{
tree initlist, chain, method_list_template;
tree variable_length_type
= xref_tag (RECORD_TYPE,
get_identifier (UTAG_METHOD_PROTOTYPE_LIST));
int size;
if (!objc_method_prototype_template)
@ -3798,7 +3795,6 @@ generate_method_descriptors (tree protocol)
= generate_descriptor_table (method_list_template,
"_OBJC_PROTOCOL_CLASS_METHODS",
size, initlist, protocol);
TREE_TYPE (UOBJC_CLASS_METHODS_decl) = variable_length_type;
}
else
UOBJC_CLASS_METHODS_decl = 0;
@ -3819,7 +3815,6 @@ generate_method_descriptors (tree protocol)
= generate_descriptor_table (method_list_template,
"_OBJC_PROTOCOL_INSTANCE_METHODS",
size, initlist, protocol);
TREE_TYPE (UOBJC_INSTANCE_METHODS_decl) = variable_length_type;
}
else
UOBJC_INSTANCE_METHODS_decl = 0;
@ -4503,8 +4498,6 @@ static void
generate_ivar_lists (void)
{
tree initlist, ivar_list_template, chain;
tree variable_length_type
= xref_tag (RECORD_TYPE, get_identifier (UTAG_IVAR_LIST));
int size;
generating_instance_variables = 1;
@ -4526,7 +4519,6 @@ generate_ivar_lists (void)
UOBJC_CLASS_VARIABLES_decl
= generate_ivars_list (ivar_list_template, "_OBJC_CLASS_VARIABLES",
size, initlist);
TREE_TYPE (UOBJC_CLASS_VARIABLES_decl) = variable_length_type;
}
else
UOBJC_CLASS_VARIABLES_decl = 0;
@ -4541,7 +4533,6 @@ generate_ivar_lists (void)
UOBJC_INSTANCE_VARIABLES_decl
= generate_ivars_list (ivar_list_template, "_OBJC_INSTANCE_VARIABLES",
size, initlist);
TREE_TYPE (UOBJC_INSTANCE_VARIABLES_decl) = variable_length_type;
}
else
UOBJC_INSTANCE_VARIABLES_decl = 0;
@ -4673,8 +4664,6 @@ static void
generate_dispatch_tables (void)
{
tree initlist, chain, method_list_template;
tree variable_length_type
= xref_tag (RECORD_TYPE, get_identifier (UTAG_METHOD_LIST));
int size;
if (!objc_method_template)
@ -4697,7 +4686,6 @@ generate_dispatch_tables (void)
? "_OBJC_CLASS_METHODS"
: "_OBJC_CATEGORY_CLASS_METHODS"),
size, initlist);
TREE_TYPE (UOBJC_CLASS_METHODS_decl) = variable_length_type;
}
else
UOBJC_CLASS_METHODS_decl = 0;
@ -4723,7 +4711,6 @@ generate_dispatch_tables (void)
= generate_dispatch_table (method_list_template,
"_OBJC_CATEGORY_INSTANCE_METHODS",
size, initlist);
TREE_TYPE (UOBJC_INSTANCE_METHODS_decl) = variable_length_type;
}
else
UOBJC_INSTANCE_METHODS_decl = 0;