From d84525480ae75e783b2a4d9a9480f1ec11222ce3 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Fri, 3 Mar 2006 03:25:07 +0000 Subject: [PATCH] Fix VC++ compilation errors. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26498 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 4078c527288..08c38c479c9 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -80,7 +80,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const { if (Preds.size() != 0) { std::cerr << "Predecessors :\n"; - for (std::set::iterator I = Preds.begin(), + for (std::set::const_iterator I = Preds.begin(), E = Preds.end(); I != E; ++I) { std::cerr << " "; (*I)->dump(G, false); @@ -88,7 +88,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const { } if (ChainPreds.size() != 0) { std::cerr << "Chained Preds :\n"; - for (std::set::iterator I = ChainPreds.begin(), + for (std::set::const_iterator I = ChainPreds.begin(), E = ChainPreds.end(); I != E; ++I) { std::cerr << " "; (*I)->dump(G, false); @@ -96,7 +96,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const { } if (Succs.size() != 0) { std::cerr << "Successors :\n"; - for (std::set::iterator I = Succs.begin(), + for (std::set::const_iterator I = Succs.begin(), E = Succs.end(); I != E; ++I) { std::cerr << " "; (*I)->dump(G, false); @@ -104,7 +104,7 @@ void SUnit::dump(const SelectionDAG *G, bool All) const { } if (ChainSuccs.size() != 0) { std::cerr << "Chained succs :\n"; - for (std::set::iterator I = ChainSuccs.begin(), + for (std::set::const_iterator I = ChainSuccs.begin(), E = ChainSuccs.end(); I != E; ++I) { std::cerr << " "; (*I)->dump(G, false);