@@ -40,43 +40,42 @@ struct _SwiftEmptyArrayStorage {
40
40
SWIFT_RUNTIME_STDLIB_API
41
41
struct _SwiftEmptyArrayStorage _swiftEmptyArrayStorage;
42
42
43
- struct _SwiftUnsafeBitMap {
44
- __swift_uintptr_t *values;
45
- __swift_intptr_t bitCount;
46
- };
47
-
48
43
struct _SwiftDictionaryBodyStorage {
49
- __swift_intptr_t capacity;
50
44
__swift_intptr_t count;
51
- struct _SwiftUnsafeBitMap initializedEntries;
52
- void *keys;
53
- void *values;
45
+ __swift_intptr_t capacity;
46
+ __swift_intptr_t scale;
47
+ __swift_uint64_t seed0;
48
+ __swift_uint64_t seed1;
49
+ void *rawKeys;
50
+ void *rawValues;
54
51
};
55
52
56
53
struct _SwiftSetBodyStorage {
57
- __swift_intptr_t capacity;
58
54
__swift_intptr_t count;
59
- struct _SwiftUnsafeBitMap initializedEntries;
60
- void *keys;
55
+ __swift_intptr_t capacity;
56
+ __swift_intptr_t scale;
57
+ __swift_uint64_t seed0;
58
+ __swift_uint64_t seed1;
59
+ void *rawElements;
61
60
};
62
61
63
- struct _SwiftEmptyDictionaryStorage {
62
+ struct _SwiftEmptyDictionarySingleton {
64
63
struct HeapObject header;
65
64
struct _SwiftDictionaryBodyStorage body;
66
- __swift_uintptr_t entries ;
65
+ __swift_uintptr_t metadata ;
67
66
};
68
67
69
- struct _SwiftEmptySetStorage {
68
+ struct _SwiftEmptySetSingleton {
70
69
struct HeapObject header;
71
70
struct _SwiftSetBodyStorage body;
72
- __swift_uintptr_t entries ;
71
+ __swift_uintptr_t metadata ;
73
72
};
74
73
75
74
SWIFT_RUNTIME_STDLIB_API
76
- struct _SwiftEmptyDictionaryStorage _swiftEmptyDictionaryStorage ;
75
+ struct _SwiftEmptyDictionarySingleton _swiftEmptyDictionarySingleton ;
77
76
78
77
SWIFT_RUNTIME_STDLIB_API
79
- struct _SwiftEmptySetStorage _swiftEmptySetStorage ;
78
+ struct _SwiftEmptySetSingleton _swiftEmptySetSingleton ;
80
79
81
80
struct _SwiftHashingParameters {
82
81
__swift_uint64_t seed0;
@@ -91,9 +90,9 @@ struct _SwiftHashingParameters _swift_stdlib_Hashing_parameters;
91
90
92
91
static_assert (std::is_pod<_SwiftEmptyArrayStorage>::value,
93
92
" empty array type should be POD" );
94
- static_assert (std::is_pod<_SwiftEmptyDictionaryStorage >::value,
93
+ static_assert (std::is_pod<_SwiftEmptyDictionarySingleton >::value,
95
94
" empty dictionary type should be POD" );
96
- static_assert (std::is_pod<_SwiftEmptySetStorage >::value,
95
+ static_assert (std::is_pod<_SwiftEmptySetSingleton >::value,
97
96
" empty set type should be POD" );
98
97
99
98
}} // extern "C", namespace swift
0 commit comments