Fix VC++ compilation error.

llvm-svn: 25604
This commit is contained in:
Jeff Cohen 2006-01-25 17:17:49 +00:00
parent 1092a02619
commit fb20616aa6
1 changed files with 1 additions and 1 deletions

View 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)) {