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

Jeff Cohen jeffc at jolt-lang.org
Wed Jan 25 09:18:11 PST 2006



Changes in directory llvm/lib/CodeGen/SelectionDAG:

ScheduleDAGList.cpp updated: 1.2 -> 1.3
---
Log message:

Fix VC++ compilation error.

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

 ScheduleDAGList.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.2 llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.3
--- llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp:1.2	Wed Jan 25 03:14:32 2006
+++ llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp	Wed Jan 25 11:17:49 2006
@@ -341,7 +341,7 @@
 }
 
 void ScheduleDAGList::BuildSchedUnits() {
-  for (unsigned i = 0, N = NodeCount; i < N; i++) {
+  for (unsigned i = 0, NC = NodeCount; i < NC; i++) {
     NodeInfo *NI = &Info[i];
     SDNode *N = NI->Node;
     if (!isPassiveNode(N)) {






More information about the llvm-commits mailing list