summaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 16:46:31 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-16 16:46:31 +0000
commitc623bf224ae70ba4d72af5fd7b6ce9cefbe48030 (patch)
tree8a7ef94683b5b2f9d6ddab64390028d3726cc272 /gcc/haifa-sched.c
parentfffc53bbf7e2df104ab5de48b7ee7c2a712ca473 (diff)
downloadgcc-c623bf224ae70ba4d72af5fd7b6ce9cefbe48030.tar.gz
* bitmap.c (bitmap_clear): Don't declare as inline.
* gimple.c (gimplify_assign): Likewise. * tree-ssa-sccvn.c (vn_nary_op_compute_hash): Likewise. * haifa-sched.c (insn_cost): Don't declare with HAIFA_INLINE. (sched_scan_info): Remove duplicate definition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148539 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index f876b458d2d..eff10c87628 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -601,7 +601,7 @@ static rtx last_scheduled_insn;
/* Compute cost of executing INSN.
This is the number of cycles between instruction issue and
instruction results. */
-HAIFA_INLINE int
+int
insn_cost (rtx insn)
{
int cost;
@@ -4721,8 +4721,6 @@ check_cfg (rtx head, rtx tail)
#endif /* ENABLE_CHECKING */
-const struct sched_scan_info_def *sched_scan_info;
-
/* Extend per basic block data structures. */
static void
extend_bb (void)