commit | 44c687d0afa9be89e1dc45dca96713e58a94ccb8 | [log] [tgz] |
---|---|---|
author | Jeff Cohen <jeffc@jolt-lang.org> | Wed Jan 25 17:17:49 2006 +0000 |
committer | Jeff Cohen <jeffc@jolt-lang.org> | Wed Jan 25 17:17:49 2006 +0000 |
tree | 4d456f2de28943ee1eb45794fd47dfd73b565dbf | |
parent | 7558b0e80c058c148ef9f45220bbbe6bc8a146dd [diff] |
Fix VC++ compilation error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25604 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 892fcda..0696c3f 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
@@ -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)) {