sched-int.h (struct _dep): Add member cost.
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 13 Jul 2011 10:18:32 +0000 (10:18 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 13 Jul 2011 10:18:32 +0000 (10:18 +0000)
commita19af9c4e401e168f46180adab9210a6fdb1757e
treefb8bf8be019b0110f5a291264ebbc7b8c6c33ab7
parent2d1efe2d2d19872257bffb1561838805eb5f4fab
sched-int.h (struct _dep): Add member cost.

* sched-int.h (struct _dep): Add member cost.
(DEP_COST, UNKNOWN_DEP_COST): New macros.
* sched-deps.c (init_dep_1): Initialize DEP_COST.
* haifa-sched.c (dep_cost_1): Use and set DEP_COST.
(sched_change_pattern): Reset it for dependent insns.

From-SVN: r176226
gcc/ChangeLog
gcc/haifa-sched.c
gcc/sched-deps.c
gcc/sched-int.h