diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-27 20:24:41 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-27 20:24:41 +0000 |
commit | 719e7e3fc9fbf765550a149b3ea072e6e18b53eb (patch) | |
tree | a6d4c67e572fd7570f3a84d89171aba1bd598aa3 /gcc/sched-vis.c | |
parent | f5c63059f625ea5eb49a4e262d25c7551d1c8864 (diff) | |
download | gcc-719e7e3fc9fbf765550a149b3ea072e6e18b53eb.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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/sched-vis.c')
0 files changed, 0 insertions, 0 deletions