[llvm-commits] CVS: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp

Jeff Cohen jeffc at jolt-lang.org
Thu Mar 2 19:25:19 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

ScheduleDAGList.cpp updated: 1.7 -> 1.8
---
Log message:

Fix VC++ compilation errors.

---
Diffs of the changes:  (+4 -4)

 ScheduleDAGList.cpp |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.7 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.8
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.7	Thu Mar  2 15:38:29 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp	Thu Mar  2 21:25:07 2006
@@ -80,7 +80,7 @@
 
     if (Preds.size() != 0) {
       std::cerr << "Predecessors  :\n";
-      for (std::set<SUnit*>::iterator I = Preds.begin(),
+      for (std::set<SUnit*>::const_iterator I = Preds.begin(),
              E = Preds.end(); I != E; ++I) {
         std::cerr << "    ";
         (*I)->dump(G, false);
@@ -88,7 +88,7 @@
     }
     if (ChainPreds.size() != 0) {
       std::cerr << "Chained Preds :\n";
-      for (std::set<SUnit*>::iterator I = ChainPreds.begin(),
+      for (std::set<SUnit*>::const_iterator I = ChainPreds.begin(),
              E = ChainPreds.end(); I != E; ++I) {
         std::cerr << "    ";
         (*I)->dump(G, false);
@@ -96,7 +96,7 @@
     }
     if (Succs.size() != 0) {
       std::cerr << "Successors    :\n";
-      for (std::set<SUnit*>::iterator I = Succs.begin(),
+      for (std::set<SUnit*>::const_iterator I = Succs.begin(),
              E = Succs.end(); I != E; ++I) {
         std::cerr << "    ";
         (*I)->dump(G, false);
@@ -104,7 +104,7 @@
     }
     if (ChainSuccs.size() != 0) {
       std::cerr << "Chained succs :\n";
-      for (std::set<SUnit*>::iterator I = ChainSuccs.begin(),
+      for (std::set<SUnit*>::const_iterator I = ChainSuccs.begin(),
              E = ChainSuccs.end(); I != E; ++I) {
         std::cerr << "    ";
         (*I)->dump(G, false);






More information about the llvm-commits mailing list