Add some functions for use by the RTL frontend.
commit2d7869ef1f432aa4184c7822f629f34db27da4e0
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2016 18:16:32 +0000 (7 18:16 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2016 18:16:32 +0000 (7 18:16 +0000)
treef630779522d438dada81b844779c84d2ca6d302d
parent0105a54ea53d5b86e402b5be168ad76526cdbe86
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@243376 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/read-md.c
gcc/read-md.h