Fix VC++ compilation error.
authorJeff Cohen <jeffc@jolt-lang.org>
Wed, 25 Jan 2006 17:17:49 +0000 (17:17 +0000)
committerJeff Cohen <jeffc@jolt-lang.org>
Wed, 25 Jan 2006 17:17:49 +0000 (17:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25604 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp

index 892fcdaf01c4eb2b02ac1f39dcbf9b8e80b50148..0696c3f25c9b39a978c102ad850ed96fc5745259 100644 (file)
@@ -341,7 +341,7 @@ static bool isChainUse(SDNode *N, SDNode *UseN) {
 }
 
 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)) {