summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorAndrew Trick <atrick@apple.com>2012-12-18 20:52:52 +0000
committerAndrew Trick <atrick@apple.com>2012-12-18 20:52:52 +0000
commit493b867b5d90ba9b50950593880614c17d90aa66 (patch)
treea5e180e4e75a8e28742c300b4538527e8bf99e72 /llvm/lib/CodeGen/MachineScheduler.cpp
parentffb6168e8564e2cfcbca38d0a0d42fa1f10e3b57 (diff)
downloadbcm5719-llvm-493b867b5d90ba9b50950593880614c17d90aa66.tar.gz
bcm5719-llvm-493b867b5d90ba9b50950593880614c17d90aa66.zip
MISched: cleanup, use the proper iterator type.
llvm-svn: 170450
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineScheduler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineScheduler.cpp b/llvm/lib/CodeGen/MachineScheduler.cpp
index d49eda24a70..fbbae3877ac 100644
--- a/llvm/lib/CodeGen/MachineScheduler.cpp
+++ b/llvm/lib/CodeGen/MachineScheduler.cpp
@@ -1213,7 +1213,7 @@ void ConvergingScheduler::releaseTopNode(SUnit *SU) {
if (SU->isScheduled)
return;
- for (SUnit::succ_iterator I = SU->Preds.begin(), E = SU->Preds.end();
+ for (SUnit::pred_iterator I = SU->Preds.begin(), E = SU->Preds.end();
I != E; ++I) {
unsigned PredReadyCycle = I->getSUnit()->TopReadyCycle;
unsigned MinLatency = I->getMinLatency();
OpenPOWER on IntegriCloud