diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2006-05-05 01:47:05 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2006-05-05 01:47:05 +0000 |
commit | 4b75e73791f32f73ca1fc91f073a5126e6700b7a (patch) | |
tree | 708bb50e9082911433c2d7269993aa504f614e54 /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | |
parent | 7328797b16a549c9136967803ae8d15361031df2 (diff) |
Fix VC++ compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index cdd58074b2..b6c16a88cf 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -541,7 +541,7 @@ static bool isFloater(const SUnit *SU) { static bool isSimpleFloaterUse(const SUnit *SU) { unsigned NumOps = 0; - for (std::set<std::pair<SUnit*, bool> >::iterator I = SU->Preds.begin(), + for (std::set<std::pair<SUnit*, bool> >::const_iterator I = SU->Preds.begin(), E = SU->Preds.end(); I != E; ++I) { if (I->second) continue; if (++NumOps > 1) |