]> git.ipfire.org Git - thirdparty/gcc.git/commit
final.c: Use rtx_sequence
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2014 20:04:14 +0000 (20:04 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 27 Aug 2014 20:04:14 +0000 (20:04 +0000)
commit3a0b41f50a1de4d17716973d7cef8fca4ccaf197
tree598f4525f8fea0227c616e26975ac35479c37bfb
parentb01ac5847e7b7a9b22420a8d041cfbd1143862e1
final.c: Use rtx_sequence

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

* final.c (get_attr_length_1): Replace GET_CODE check with a
dyn_cast, introducing local "seq" and the use of methods of
rtx_sequence.
(shorten_branches): Likewise, introducing local "body_seq".
Strengthen local "inner_insn" from rtx to rtx_insn *.
(reemit_insn_block_notes): Replace GET_CODE check with a
dyn_cast, strengthening local "body" from rtx to rtx_sequence *.
Use methods of rtx_sequence.
(final_scan_insn): Likewise, introducing local "seq" for when
"body" is known to be a SEQUENCE, using its methods.

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