aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
diff options
context:
space:
mode:
authorJeff Cohen <jeffc@jolt-lang.org>2006-01-25 17:17:49 +0000
committerJeff Cohen <jeffc@jolt-lang.org>2006-01-25 17:17:49 +0000
commit44c687d0afa9be89e1dc45dca96713e58a94ccb8 (patch)
tree4d456f2de28943ee1eb45794fd47dfd73b565dbf /lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
parent7558b0e80c058c148ef9f45220bbbe6bc8a146dd (diff)
Fix VC++ compilation error.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp')
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp
index 892fcdaf01..0696c3f25c 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)) {