diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-09-21 16:32:34 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-09-21 16:32:34 +0200 |
commit | ffc1ded5a53aa5263083174e2140a61f923f4c50 (patch) | |
tree | 770705f692d82cce1d8f1b8693bc20cdc5f22760 /gcc/sched-int.h | |
parent | a0e27dc2aa25c98e15e109b2915545dfbe21f27f (diff) |
Rename existing insn_cost to insn_sched_cost
haifa-sched exports an insn_cost function, but it is only used in a
few places and specialised to scheduling. This patch renames it to
insn_sched_cost.
* haifa-sched.c: Rename insn_cost to insn_sched_cost.
* sched-rgn.c: Ditto.
* sel-sched-ir.c: Ditto.
From-SVN: r253072
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 624d8925c8d..2af8f9fc32c 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -1403,7 +1403,7 @@ extern void get_ebb_head_tail (basic_block, basic_block, rtx_insn **, rtx_insn **); extern int no_real_insns_p (const rtx_insn *, const rtx_insn *); -extern int insn_cost (rtx_insn *); +extern int insn_sched_cost (rtx_insn *); extern int dep_cost_1 (dep_t, dw_t); extern int dep_cost (dep_t); extern int set_priorities (rtx_insn *, rtx_insn *); |