From: Jeff Cohen Date: Wed, 25 Jan 2006 17:17:49 +0000 (+0000) Subject: Fix VC++ compilation error. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44c687d0afa9be89e1dc45dca96713e58a94ccb8;p=oota-llvm.git 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 892fcdaf01c..0696c3f25c9 100644 --- a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp @@ -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)) {