diff options
author | Andrew Trick <atrick@apple.com> | 2012-12-18 20:52:52 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2012-12-18 20:52:52 +0000 |
commit | 493b867b5d90ba9b50950593880614c17d90aa66 (patch) | |
tree | a5e180e4e75a8e28742c300b4538527e8bf99e72 /llvm/lib/CodeGen | |
parent | ffb6168e8564e2cfcbca38d0a0d42fa1f10e3b57 (diff) | |
download | bcm5719-llvm-493b867b5d90ba9b50950593880614c17d90aa66.tar.gz bcm5719-llvm-493b867b5d90ba9b50950593880614c17d90aa66.zip |
MISched: cleanup, use the proper iterator type.
llvm-svn: 170450
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/MachineScheduler.cpp | 2 |
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(); |