read-rtl.c: split out read_rtx_operand from read_rtx_code
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 26 Sep 2016 16:39:15 +0000 (16:39 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Mon, 26 Sep 2016 16:39:15 +0000 (16:39 +0000)
commitf22735ae61051e2a1ec90c4df81ca64d032b313b
treeb3c6738c290699739e7156546ac1eacace64ec2b
parent2fd88f4ff255ace8607d661a1b1bcd290f55428f
read-rtl.c: split out read_rtx_operand from read_rtx_code

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.

From-SVN: r240502
gcc/ChangeLog
gcc/read-rtl.c