llvm-6502/include
Jakob Stoklund Olesen 03ef449917 Reset StringMap's NumTombstones on clears and rehashes.
StringMap was not properly updating NumTombstones after a clear or rehash.

This was not fatal until now because the table was growing faster than
NumTombstones could, but with the previous change of preventing infinite
growth of the table the invariant (NumItems + NumTombstones <= NumBuckets)
stopped being observed, causing infinite loops in certain situations.

Patch by José Fonseca!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128567 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-30 18:32:51 +00:00
..
llvm Reset StringMap's NumTombstones on clears and rehashes. 2011-03-30 18:32:51 +00:00
llvm-c C-API: Include DataTypes.h instead of stdint.h. 2011-03-29 02:30:34 +00:00