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 | 78a7f0e05e5ed2d4e9db41bdf1cb619586f0bbe1 (patch) | |
tree | 27c70ed7d98f59d5bea7fb00aab5a11295df35b1 /llvm | |
parent | dec86e74ffba348cca190303b766479aa4f94e62 (diff) | |
download | bcm5719-llvm-78a7f0e05e5ed2d4e9db41bdf1cb619586f0bbe1.tar.gz bcm5719-llvm-78a7f0e05e5ed2d4e9db41bdf1cb619586f0bbe1.zip |
Fix VC++ compilation error.
llvm-svn: 28117
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index cdd58074b2a..b6c16a88cfe 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/llvm/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) |