diff options
author | David Malcolm <dmalcolm@redhat.com> | 2014-08-27 20:24:41 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2014-08-27 20:24:41 +0000 |
commit | a3be187d610ce71528decf216eb1f7410a5dc8ae (patch) | |
tree | a6d4c67e572fd7570f3a84d89171aba1bd598aa3 /zlib | |
parent | 9e3090e11260968e1bc2af530b3ed339fb43db16 (diff) | |
download | gcc-a3be187d610ce71528decf216eb1f7410a5dc8ae.tar.gz |
resource.c: Use rtx_sequence
gcc/
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* resource.c (mark_referenced_resources): Strengthen local
"sequence" from rtx to rtx_sequence *, adding a checked cast, and
using methods of rtx_sequence to clarify the code.
(find_dead_or_set_registers): Within the switch statement, convert
a GET_CODE check to a dyn_cast, introducing local "seq". Within
the JUMP_P handling, introduce another local "seq", adding a
checked cast to rtx_sequence *. In both cases, use methods of
rtx_sequence to clarify the code.
(mark_set_resources): Within SEQUENCE case, introduce local "seq"
via a checked cast, and use methods of rtx_sequence to simplify
the code.
From-SVN: r214598
Diffstat (limited to 'zlib')
0 files changed, 0 insertions, 0 deletions