mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-27 14:24:40 +00:00
Unbreak build with gcc 4.3: provide missed includes and silence most annoying warnings.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47367 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -313,7 +313,7 @@ private:
|
||||
NumEntries = 0;
|
||||
NumTombstones = 0;
|
||||
NumBuckets = InitBuckets;
|
||||
assert(InitBuckets && (InitBuckets & InitBuckets-1) == 0 &&
|
||||
assert(InitBuckets && (InitBuckets & (InitBuckets-1)) == 0 &&
|
||||
"# initial buckets must be a power of two!");
|
||||
Buckets = reinterpret_cast<BucketT*>(new char[sizeof(BucketT)*InitBuckets]);
|
||||
// Initialize all the keys to EmptyKey.
|
||||
|
Reference in New Issue
Block a user