Fix VC++ compilation error.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25604 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jeff Cohen 2006-01-25 17:17:49 +00:00
parent 7558b0e80c
commit 44c687d0af

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