@@ -2197,8 +2197,6 @@ final internal class _HashableTypedNativeDictionaryStorage<Key: Hashable, Value>
2197
2197
internal struct _NativeDictionary < Key, Value> {
2198
2198
@usableFromInline
2199
2199
internal typealias Element = ( key: Key , value: Value )
2200
- @usableFromInline // FIXME(sil-serialize-all)
2201
- internal typealias TypedStorage = _TypedNativeDictionaryStorage < Key , Value >
2202
2200
2203
2201
/// See this comments on _RawNativeDictionaryStorage and its subclasses to
2204
2202
/// understand why we store an untyped storage here.
@@ -2222,10 +2220,11 @@ internal struct _NativeDictionary<Key, Value> {
2222
2220
@inlinable // FIXME(sil-serialize-all)
2223
2221
internal init ( _exactBucketCount bucketCount: Int , unhashable: ( ) ) {
2224
2222
let bitmapWordCount = _UnsafeBitMap. sizeInWords ( forSizeInBits: bucketCount)
2225
- let storage = Builtin . allocWithTailElems_3 ( TypedStorage . self,
2226
- bitmapWordCount. _builtinWordValue, UInt . self,
2227
- bucketCount. _builtinWordValue, Key . self,
2228
- bucketCount. _builtinWordValue, Value . self)
2223
+ let storage = Builtin . allocWithTailElems_3 (
2224
+ _TypedNativeDictionaryStorage < Key , Value > . self,
2225
+ bitmapWordCount. _builtinWordValue, UInt . self,
2226
+ bucketCount. _builtinWordValue, Key . self,
2227
+ bucketCount. _builtinWordValue, Value . self)
2229
2228
self . init ( _exactBucketCount: bucketCount, storage: storage)
2230
2229
}
2231
2230
@@ -2441,10 +2440,6 @@ internal struct _NativeDictionary<Key, Value> {
2441
2440
}
2442
2441
2443
2442
extension _NativeDictionary where Key: Hashable {
2444
- @usableFromInline
2445
- internal typealias HashTypedStorage =
2446
- _HashableTypedNativeDictionaryStorage < Key , Value >
2447
-
2448
2443
@inlinable // FIXME(sil-serialize-all)
2449
2444
@inline ( __always)
2450
2445
internal init ( minimumCapacity: Int ) {
@@ -2469,10 +2464,11 @@ extension _NativeDictionary where Key: Hashable {
2469
2464
@inlinable // FIXME(sil-serialize-all)
2470
2465
internal init ( _exactBucketCount bucketCount: Int ) {
2471
2466
let bitmapWordCount = _UnsafeBitMap. sizeInWords ( forSizeInBits: bucketCount)
2472
- let storage = Builtin . allocWithTailElems_3 ( HashTypedStorage . self,
2473
- bitmapWordCount. _builtinWordValue, UInt . self,
2474
- bucketCount. _builtinWordValue, Key . self,
2475
- bucketCount. _builtinWordValue, Value . self)
2467
+ let storage = Builtin . allocWithTailElems_3 (
2468
+ _HashableTypedNativeDictionaryStorage < Key , Value > . self,
2469
+ bitmapWordCount. _builtinWordValue, UInt . self,
2470
+ bucketCount. _builtinWordValue, Key . self,
2471
+ bucketCount. _builtinWordValue, Value . self)
2476
2472
self . init ( _exactBucketCount: bucketCount, storage: storage)
2477
2473
}
2478
2474
0 commit comments