This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Some gengtype clean-ups


Richard Sandiford wrote:

> The specific changes are:
> 
>   - Several bits of code called new_structure to create a structure and
>     immediately called find_structure to "find" it again.  I changed
>     new_structure so that it returned the new type instead.
> 
>   - There are several inline copies of the code to create a new option.
>     I've made them use create_option instead.
> 
>   - Some places that create new options can be simplified by passing a
>     "next" argument to create_option.
> 
>   - There were several inline copies of the code to create a fake field.
>     I've added a new function, create_field, for this purpose.
> 
> Bootstrapped & regression-tested on i686-linux-gnu.  OK to install?

OK, thanks.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]