[cfe-commits] r39062 - /cfe/cfe/trunk/Lex/IdentifierTable.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:27:13 PDT 2007
Author: sabre
Date: Wed Jul 11 11:27:13 2007
New Revision: 39062
URL: http://llvm.org/viewvc/llvm-project?rev=39062&view=rev
Log:
fix bug reprobing.
Modified:
cfe/cfe/trunk/Lex/IdentifierTable.cpp
Modified: cfe/cfe/trunk/Lex/IdentifierTable.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Lex/IdentifierTable.cpp?rev=39062&r1=39061&r2=39062&view=diff
==============================================================================
--- cfe/cfe/trunk/Lex/IdentifierTable.cpp (original)
+++ cfe/cfe/trunk/Lex/IdentifierTable.cpp Wed Jul 11 11:27:13 2007
@@ -275,8 +275,8 @@
} 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;
}
}
More information about the cfe-commits
mailing list