We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed7747 commit ac376e9Copy full SHA for ac376e9
stdlib/public/core/KeyPath.swift
@@ -24,6 +24,11 @@ internal func _abstract(
24
#endif
25
}
26
27
+@_alignment(16)
28
+struct _SixteenAligned {
29
+ let x: UInt8
30
+}
31
+
32
// MARK: Type-erased abstract base classes
33
34
// NOTE: older runtimes had Swift.AnyKeyPath as the ObjC name.
@@ -179,7 +184,7 @@ public class AnyKeyPath: _AppendKeyPath {
179
184
// above. The result of this tail element should just be the 16 byte
180
185
// pointer aligned requirement and no extra bytes allocated.
181
186
0._builtinWordValue,
182
- SIMD16<Int8>.self,
187
+ _SixteenAligned.self,
183
188
189
(bytesWithoutHeader/4)._builtinWordValue,
190
Int32.self
0 commit comments