diff options
author | Trevor Saunders <tbsaunde+gcc@tbsaunde.org> | 2015-05-02 21:05:54 +0000 |
---|---|---|
committer | Trevor Saunders <tbsaunde@gcc.gnu.org> | 2015-05-02 21:05:54 +0000 |
commit | 90831096a76a79eba85b15dfb9993e4f170b606e (patch) | |
tree | bab7612e2587a7c7f917668fd39e52f1d50ae446 /gcc/sched-rgn.c | |
parent | 0bd5850c9bb05d1e6221ffaa428728fbf3764e7a (diff) | |
download | gcc-90831096a76a79eba85b15dfb9993e4f170b606e.zip gcc-90831096a76a79eba85b15dfb9993e4f170b606e.tar.gz gcc-90831096a76a79eba85b15dfb9993e4f170b606e.tar.bz2 |
make several functions in the scheduler take rtx_insn *
gcc/ChangeLog:
2015-05-02 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
* haifa-sched.c: Change the type of some variables to rtx_insn *.
* sched-deps.c: Likewise.
* sched-int.h: Likewise.
* sched-rgn.c: Likewise.
* sel-sched.c: Likewise.
From-SVN: r222737
Diffstat (limited to 'gcc/sched-rgn.c')
-rw-r--r-- | gcc/sched-rgn.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/sched-rgn.c b/gcc/sched-rgn.c index 7efd4ad..f2d5438 100644 --- a/gcc/sched-rgn.c +++ b/gcc/sched-rgn.c @@ -240,10 +240,10 @@ static edgeset *ancestor_edges; static int check_live_1 (int, rtx); static void update_live_1 (int, rtx); static int is_pfree (rtx, int, int); -static int find_conditional_protection (rtx, int); +static int find_conditional_protection (rtx_insn *, int); static int is_conditionally_protected (rtx, int, int); static int is_prisky (rtx, int, int); -static int is_exception_free (rtx, int, int); +static int is_exception_free (rtx_insn *, int, int); static bool sets_likely_spilled (rtx); static void sets_likely_spilled_1 (rtx, const_rtx, void *); @@ -1841,7 +1841,7 @@ check_live (rtx_insn *insn, int src) block src to trg. */ static void -update_live (rtx insn, int src) +update_live (rtx_insn *insn, int src) { /* Find the registers set by instruction. */ if (GET_CODE (PATTERN (insn)) == SET @@ -1882,7 +1882,7 @@ set_spec_fed (rtx load_insn) branch depending on insn, that guards the speculative load. */ static int -find_conditional_protection (rtx insn, int load_insn_bb) +find_conditional_protection (rtx_insn *insn, int load_insn_bb) { sd_iterator_def sd_it; dep_t dep; @@ -2042,7 +2042,7 @@ is_prisky (rtx load_insn, int bb_src, int bb_trg) and 0 otherwise. */ static int -is_exception_free (rtx insn, int bb_src, int bb_trg) +is_exception_free (rtx_insn *insn, int bb_src, int bb_trg) { int insn_class = haifa_classify_insn (insn); |