From 44c687d0afa9be89e1dc45dca96713e58a94ccb8 Mon Sep 17 00:00:00 2001 From: Jeff Cohen Date: Wed, 25 Jan 2006 17:17:49 +0000 Subject: [PATCH] Fix VC++ compilation error. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25604 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) { -- 2.34.1