fix bug reprobing.

llvm-svn: 39062
This commit is contained in:
Chris Lattner 2006-10-27 04:54:47 +00:00
parent 089e51923e
commit a883116ece
1 changed files with 2 additions and 2 deletions

View File

@ -275,8 +275,8 @@ void IdentifierTable::RehashTable() {
} while (NewTableArray[NewBucket].Info);
// Finally found a slot. Fill it in.
NewTableArray[FullHash & (NewSize-1)].Info = IB->Info;
NewTableArray[FullHash & (NewSize-1)].FullHashValue = FullHash;
NewTableArray[NewBucket].Info = IB->Info;
NewTableArray[NewBucket].FullHashValue = FullHash;
}
}