]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/gengtype.c
gengtype.c (new_structure): Return the structure.
authorRichard Sandiford <richard@codesourcery.com>
Mon, 23 Jan 2006 07:50:42 +0000 (07:50 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Mon, 23 Jan 2006 07:50:42 +0000 (07:50 +0000)
commit0f01f026dc4f3f265545bd112583c4756933e31a
tree184f3fa2aa5272e63450577fd51e2d79c160ae17
parentcda7004bb4836fa9e3c7f892c0fc0de3c81d176f
gengtype.c (new_structure): Return the structure.

* gengtype.c (new_structure): Return the structure.
(create_option): Add an extra "next" argument.
(create_field): New function.
(adjust_field_rtx_def): Use create_option and create_field.
Remove a now-unnecessary call to find_structure.
(adjust_field_tree_def): Likewise.
(note_yacc_type): Remove an unnecessary call to find_structure.
* gengtype.h (new_structure): Return the structure.
(create_option): Add an extra argument.
* gengtype-yacc.y (type): Remove unnecessary calls to find_structure.
(option): Adjust calls to create_option.

From-SVN: r110108
gcc/ChangeLog
gcc/gengtype-yacc.y
gcc/gengtype.c
gcc/gengtype.h