diff options
author | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-08 21:34:36 +0000 |
---|---|---|
committer | pinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-08 21:34:36 +0000 |
commit | 0aaa3c916048f93b87b0ac8e48a381c3e9648be5 (patch) | |
tree | dd12ed172b9ab9630ce4c6ff970427b4996d93ed /gcc | |
parent | 7224733b932ebf1818eefe3778c437ad7e841e48 (diff) | |
download | gcc-0aaa3c916048f93b87b0ac8e48a381c3e9648be5.tar.gz |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90304 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/objc/ChangeLog | 8 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 13 |
2 files changed, 8 insertions, 13 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 700cb04fea3..0b2be046f48 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -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 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 3474ded418f..4e95ce63edd 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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; |