Use rtx_insn in various places in resource.[ch]
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 29 Aug 2014 00:09:39 +0000 (00:09 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 29 Aug 2014 00:09:39 +0000 (00:09 +0000)
commita79b674bd5bf0fa84e5f8065f63222ceab2ac993
treeab17eaeebce68a54ad1fc71b1e452a4517be2116
parent17f385d8dabbfff8eeb45012d63c8cd232958330
Use rtx_insn in various places in resource.[ch]

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

* resource.h (clear_hashed_info_for_insn): Strengthen param from
rtx to rtx_insn *.
(incr_ticks_for_insn): Likewise.
(init_resource_info): Likewise.

* resource.c (init_resource_info): Likewise.
(clear_hashed_info_for_insn): Likewise.
(incr_ticks_for_insn): Likewise.

* reorg.c (delete_scheduled_jump): Strengthen param "insn" from
rtx to rtx_insn *.
(steal_delay_list_from_target): Use methods of "seq".
(try_merge_delay_insns): Use methods of "merged_insns".
(update_block): Strengthen param "insn" from rtx to rtx_insn *.
(reorg_redirect_jump): Likewise for param "jump".

From-SVN: r214702
gcc/ChangeLog
gcc/reorg.c
gcc/resource.c
gcc/resource.h