Add some functions for use by the RTL frontend.
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 7 Dec 2016 18:16:32 +0000 (18:16 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 7 Dec 2016 18:16:32 +0000 (18:16 +0000)
commit9c4e96eb1e305a9f35e4dbafb0a1fe29ef226265
treef630779522d438dada81b844779c84d2ca6d302d
parent8e1d640fcdf694fe1d83818b123b550e0da96705
Add some functions for use by the RTL frontend.

gcc/ChangeLog:
* read-md.c (rtx_reader::require_char): New method.
(require_char_ws): Convert from function to...
(rtx_reader::require_char_ws): ...method.
(rtx_reader::require_word_ws): New method.
* read-md.h (rtx_reader::require_char): New method decl.
(require_char_ws): Remove global decl in favor of...
(rtx_reader::require_char_ws): ...new method decl.
(rtx_reader::require_word_ws): New method decl.
(rtx_reader::peek_char): New method decl.

From-SVN: r243376
gcc/ChangeLog
gcc/read-md.c
gcc/read-md.h