summaryrefslogtreecommitdiff
path: root/gcc/sched-ebb.c
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2012-10-08 11:26:16 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2012-10-08 11:26:16 +0000
commit975ccf2291fe0b1bf5d8a7cc0245fa35ed0df8dc (patch)
tree189eaf3a2d0889ab0f7111d7f11b37bda6412bc9 /gcc/sched-ebb.c
parent1e422ffff35dd27469eec04f5feb2041d95e2f4b (diff)
sched-int.h (schedule_block): Adjust declaration.
* sched-int.h (schedule_block): Adjust declaration. * sched-rgn.c (bb_state_array, bb_state): New static variables. (sched_rgn_init): Initialize them. (sched_rgn_free): Free them. (schedule_region): Save scheduling state for future blocks, and pass such state to schedule_block. * params.def (PARAM_SCHED_STATE_EDGE_PROB_CUTOFF): New. * doc/invoke.texi (--param): Document it. * haifa-sched.c (schedule_block): New arg init_state. Use it to initialize state if nonnull. All callers changed. Call advance_one_cycle after scheduling. From-SVN: r192203
Diffstat (limited to 'gcc/sched-ebb.c')
-rw-r--r--gcc/sched-ebb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/sched-ebb.c b/gcc/sched-ebb.c
index 372d1081b4f..9e524f9f13e 100644
--- a/gcc/sched-ebb.c
+++ b/gcc/sched-ebb.c
@@ -544,7 +544,7 @@ schedule_ebb (rtx head, rtx tail, bool modulo_scheduling)
/* Make ready list big enough to hold all the instructions from the ebb. */
sched_extend_ready_list (rgn_n_insns);
- success = schedule_block (&target_bb);
+ success = schedule_block (&target_bb, NULL);
gcc_assert (success || modulo_scheduling);
/* Free ready list. */