diff options
author | Jeff Cohen <jeffc@jolt-lang.org> | 2006-01-25 17:17:49 +0000 |
---|---|---|
committer | Jeff Cohen <jeffc@jolt-lang.org> | 2006-01-25 17:17:49 +0000 |
commit | fb20616aa6771186847acd289964aadfacf8225f (patch) | |
tree | 222d4d419743275b3f059e806a809a4bef05dec7 /llvm/lib/CodeGen | |
parent | 1092a02619adda9d9568711bd4ed3dcfba5146d0 (diff) | |
download | bcm5719-llvm-fb20616aa6771186847acd289964aadfacf8225f.tar.gz bcm5719-llvm-fb20616aa6771186847acd289964aadfacf8225f.zip |
Fix VC++ compilation error.
llvm-svn: 25604
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp b/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp index 892fcdaf01c..0696c3f25c9 100644 --- a/llvm/lib/CodeGen/SelectionDAG/ScheduleDAGList.cpp +++ b/llvm/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)) { |