@@ -2490,7 +2490,7 @@ final internal class _Native${Self}StorageImpl<${TypeParameters}> :
2490
2490
/// Returns the bytes necessary to store a bit map of 'capacity' bytes and
2491
2491
/// padding to align the start to word alignment.
2492
2492
internal static func bytesForBitMap(capacity: Int) -> Int {
2493
- let numWords = _BitMap .sizeInWords(forCapacity: capacity)
2493
+ let numWords = _UnsafeBitMap .sizeInWords(forCapacity: capacity)
2494
2494
return numWords * strideof(UInt) + alignof(UInt)
2495
2495
}
2496
2496
@@ -2554,7 +2554,7 @@ final internal class _Native${Self}StorageImpl<${TypeParameters}> :
2554
2554
2555
2555
internal var _keys: UnsafeMutablePointer<Key> {
2556
2556
let bitMapSizeInBytes =
2557
- _unsafeMultiply(_BitMap .sizeInWords(forCapacity: _capacity), strideof(UInt))
2557
+ _unsafeMultiply(_UnsafeBitMap .sizeInWords(forCapacity: _capacity), strideof(UInt))
2558
2558
let start =
2559
2559
UnsafeMutablePointer<UInt8>(_initializedHashtableEntriesBitMapStorage)
2560
2560
+ bitMapSizeInBytes
@@ -2582,7 +2582,7 @@ final internal class _Native${Self}StorageImpl<${TypeParameters}> :
2582
2582
return _HashedContainerStorageHeader(capacity: capacity)
2583
2583
}
2584
2584
let storage = r as! StorageImpl
2585
- let initializedEntries = _BitMap (
2585
+ let initializedEntries = _UnsafeBitMap (
2586
2586
storage: storage._initializedHashtableEntriesBitMapStorage,
2587
2587
bitCount: capacity)
2588
2588
initializedEntries.initializeToZero()
@@ -2591,7 +2591,7 @@ final internal class _Native${Self}StorageImpl<${TypeParameters}> :
2591
2591
2592
2592
deinit {
2593
2593
let capacity = _capacity
2594
- let initializedEntries = _BitMap (
2594
+ let initializedEntries = _UnsafeBitMap (
2595
2595
storage: _initializedHashtableEntriesBitMapStorage, bitCount: capacity)
2596
2596
let keys = _keys
2597
2597
%if Self == 'Dictionary':
@@ -2641,15 +2641,15 @@ struct _Native${Self}Storage<${TypeParametersDecl}> :
2641
2641
2642
2642
internal let buffer: StorageImpl
2643
2643
2644
- internal let initializedEntries: _BitMap
2644
+ internal let initializedEntries: _UnsafeBitMap
2645
2645
internal let keys: UnsafeMutablePointer<Key>
2646
2646
%if Self == 'Dictionary':
2647
2647
internal let values: UnsafeMutablePointer<Value>
2648
2648
%end
2649
2649
2650
2650
internal init(capacity: Int) {
2651
2651
buffer = StorageImpl.create(capacity: capacity)
2652
- initializedEntries = _BitMap (
2652
+ initializedEntries = _UnsafeBitMap (
2653
2653
storage: buffer._initializedHashtableEntriesBitMapStorage,
2654
2654
bitCount: capacity)
2655
2655
keys = buffer._keys
@@ -3055,15 +3055,15 @@ internal struct _BridgedNative${Self}Storage {
3055
3055
internal typealias SequenceElement = ${AnySequenceType}
3056
3056
3057
3057
internal let buffer: StorageImpl
3058
- internal let initializedEntries: _BitMap
3058
+ internal let initializedEntries: _UnsafeBitMap
3059
3059
internal let keys: UnsafeMutablePointer<AnyObject>
3060
3060
%if Self == 'Dictionary':
3061
3061
internal let values: UnsafeMutablePointer<AnyObject>
3062
3062
%end
3063
3063
3064
3064
internal init(buffer: StorageImpl) {
3065
3065
self.buffer = buffer
3066
- initializedEntries = _BitMap (
3066
+ initializedEntries = _UnsafeBitMap (
3067
3067
storage: buffer._initializedHashtableEntriesBitMapStorage,
3068
3068
bitCount: buffer._capacity)
3069
3069
keys = buffer._keys
0 commit comments