David Malcolm <dmalc...@redhat.com> writes:
> This patch moves the body of the RTL operand-parsing loop (about 180 lines of
> code) from read_rtx_code out into a new function (read_rtx_operand).
>
> Hopefully this is a reasonable cleanup in itself, but it's also useful
> for the RTL frontend I'm working on.
>
> Successfully bootstrapped&regrtested on x86_64-pc-linux-gnu.
>
> OK for trunk?
>
> gcc/ChangeLog:
>       * read-rtl.c (read_rtx_code): Rename local "i" to "idx", and use
>       "c" instead when parsing characters.  Move operand parsing into...
>       (read_rtx_operand): ...this new function, renaming "i" to "idx",
>       and tightening the scope of various locals.

OK, thanks.

Richard

Reply via email to