[PATCH] read-md.c: Move various state to within class rtx_reader (v3)

Richard Sandiford rdsandiford@googlemail.com
Mon Oct 17 20:23:00 GMT 2016


David Malcolm <dmalcolm@redhat.com> writes:
>> I assume you didn't turn the functions above into member functions
>> because they aren't primitives.  OTOH it might seem inconsistent
>> to have things like traverse_enum_types as member functions but
>> traverse_md_constants not.
>
> In the following I've converted traverse_md_constants to a member
> function.
>
> Successfully bootstrapped&regrtested on x86_64-pc-linux-gnu.
>
> OK for trunk?

OK, thanks.  And thanks for doing this -- nice clean-up!

Richard



More information about the Gcc-patches mailing list