diff options
author | Trevor Saunders <tsaunders@mozilla.com> | 2014-09-04 21:11:23 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2014-09-04 21:11:23 +0000 |
commit | e4685bc8caf5da2142eabeda9536567b1ea7bc12 (patch) | |
tree | 041af499cfb38c8d2e0f9c0e336413c18a5dd923 /gcc/resource.c | |
parent | b28e4e44278bfe2872cc8ca9b4dc623c5df6523d (diff) | |
download | gcc-e4685bc8caf5da2142eabeda9536567b1ea7bc12.zip gcc-e4685bc8caf5da2142eabeda9536567b1ea7bc12.tar.gz gcc-e4685bc8caf5da2142eabeda9536567b1ea7bc12.tar.bz2 |
Change the types of arguments and return values for several functions from rtx to rtx_insn *
gcc/ChangeLog:
2014-09-04 Trevor Saunders <tsaunders@mozilla.com>
* emit-rtl.c (get_first_nonnote_insn): Return rtx_insn * instead of
rtx.
(get_last_nonnote_insn): Likewise.
(next_nonnote_insn_bb): Take rtx_insn * instead of rtx.
* resource.c (find_basic_block): Likewise.
* rtl.h: Adjust.
* rtlanal.c (keep_with_call_p): Take const rtx_insn * instead of
const_rtx.
From-SVN: r214922
Diffstat (limited to 'gcc/resource.c')
-rw-r--r-- | gcc/resource.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/resource.c b/gcc/resource.c index 95c5f28..5528831 100644 --- a/gcc/resource.c +++ b/gcc/resource.c @@ -78,7 +78,7 @@ static HARD_REG_SET current_live_regs; static HARD_REG_SET pending_dead_regs; static void update_live_status (rtx, const_rtx, void *); -static int find_basic_block (rtx, int); +static int find_basic_block (rtx_insn *, int); static rtx_insn *next_insn_no_annul (rtx_insn *); static rtx_insn *find_dead_or_set_registers (rtx_insn *, struct resources*, rtx *, int, struct resources, @@ -132,7 +132,7 @@ update_live_status (rtx dest, const_rtx x, void *data ATTRIBUTE_UNUSED) correct. */ static int -find_basic_block (rtx insn, int search_limit) +find_basic_block (rtx_insn *insn, int search_limit) { /* Scan backwards to the previous BARRIER. Then see if we can find a label that starts a basic block. Return the basic block number. */ |