diff options
author | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-29 00:09:39 +0000 |
---|---|---|
committer | dmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-08-29 00:09:39 +0000 |
commit | 2cf26c5144d9c231924cea5835b7bc092eaff522 (patch) | |
tree | ab17eaeebce68a54ad1fc71b1e452a4517be2116 /gcc/resource.c | |
parent | ed7591be7589c9590fae46a69b74e00b94c1b7a0 (diff) | |
download | gcc-2cf26c5144d9c231924cea5835b7bc092eaff522.tar.gz |
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".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214702 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/resource.c')
-rw-r--r-- | gcc/resource.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index eb5374e50b4..607baa000e7 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -1155,7 +1155,7 @@ mark_target_live_regs (rtx_insn *insns, rtx_insn *target, struct resources *res) This should be invoked before the first call to mark_target_live_regs. */ void -init_resource_info (rtx epilogue_insn) +init_resource_info (rtx_insn *epilogue_insn) { int i; basic_block bb; @@ -1275,7 +1275,7 @@ free_resource_info (void) /* Clear any hashed information that we have stored for INSN. */ void -clear_hashed_info_for_insn (rtx insn) +clear_hashed_info_for_insn (rtx_insn *insn) { struct target_info *tinfo; @@ -1294,7 +1294,7 @@ clear_hashed_info_for_insn (rtx insn) /* Increment the tick count for the basic block that contains INSN. */ void -incr_ticks_for_insn (rtx insn) +incr_ticks_for_insn (rtx_insn *insn) { int b = find_basic_block (insn, MAX_DELAY_SLOT_LIVE_SEARCH); |