diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2008-09-18 12:29:48 +0400 |
---|---|---|
committer | Alexander Monakov <amonakov@gcc.gnu.org> | 2008-09-18 12:29:48 +0400 |
commit | d9e74dfcc1f54a2b34fa12468cc3ca884058a6f1 (patch) | |
tree | 7176ffac7109e0d7fc1623733fb00dfdd7a7b73c /gcc/sched-int.h | |
parent | 078a70a15ed75e2e9ed4c4d09450b2522e82e6ae (diff) | |
download | gcc-d9e74dfcc1f54a2b34fa12468cc3ca884058a6f1.tar.gz |
re PR middle-end/37499 (Scheduling pass 2 time increases by order of magnitude)
2008-09-18 Alexander Monakov <amonakov@ispras.ru>
PR middle-end/37499
* sched-int.h (struct _haifa_insn_data): Remove unused field
ref_count.
* sched-rgn.c (ref_counts): Remove.
(insn_referenced): New static variable.
(INSN_REF_COUNT): Remove.
(sched_run_compute_dependencies): Use insn_referenced instead of
INSN_REF_COUNT.
(add_branch_dependences): Likewise. Delete dead assignment.
From-SVN: r140445
Diffstat (limited to 'gcc/sched-int.h')
-rw-r--r-- | gcc/sched-int.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/sched-int.h b/gcc/sched-int.h index 7fd3b5526a2..e332c61f458 100644 --- a/gcc/sched-int.h +++ b/gcc/sched-int.h @@ -678,9 +678,6 @@ struct _haifa_insn_data /* A priority for each insn. */ int priority; - /* Number of instructions referring to this insn. */ - int ref_count; - /* The minimum clock tick at which the insn becomes ready. This is used to note timing constraints for the insns in the pending list. */ int tick; |