Skip to content
Snippets Groups Projects
Commit 0cee3d8a authored by rsandifo's avatar rsandifo
Browse files

* 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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110108 138bc75d-0d04-0410-961f-82ee72b054a4
parent 16f49153
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment