]> git.ipfire.org Git - thirdparty/gcc.git/commit
Introduce rtx_sequence subclass of rtx_def
authorDavid Malcolm <dmalcolm@redhat.com>
Wed, 27 Aug 2014 19:56:45 +0000 (19:56 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Wed, 27 Aug 2014 19:56:45 +0000 (19:56 +0000)
commit84fa8d9c4ed2aa3ffc3dded1f3ac9b5bb9ac29e0
tree57d0d3617696d35854f93f5402c37f095a9381ad
parent3dc99c19a5203597ca0bf8f39aea7028f17e80ba
Introduce rtx_sequence subclass of rtx_def

gcc/
2014-08-27  David Malcolm  <dmalcolm@redhat.com>

* coretypes.h (class rtx_sequence): Add forward declaration.
* rtl.h (class rtx_sequence): New subclass of rtx_def, adding
invariant: GET_CODE (X) == SEQUENCE.
(is_a_helper <rtx_sequence *>::test): New.
(is_a_helper <const rtx_sequence *>::test): New.
(rtx_sequence::len): New.
(rtx_sequence::element): New.
(rtx_sequence::insn): New.

From-SVN: r214591
gcc/ChangeLog
gcc/coretypes.h
gcc/rtl.h