Skip to content

Commit 13b5a44

Browse files
committed
Update KeyPath.swift
1 parent b6b98b2 commit 13b5a44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/core/KeyPath.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1123,6 +1123,7 @@ internal enum KeyPathComputedIDResolution {
11231123
internal struct ComputedArgumentSize {
11241124
var value: UInt
11251125

1126+
@_unavailableInEmbedded
11261127
static var sizeMask: UInt {
11271128
#if _pointerBitWidth(_64)
11281129
0x7FFF_FFFF_FFFF_FFFF
@@ -1133,6 +1134,7 @@ internal struct ComputedArgumentSize {
11331134
#endif
11341135
}
11351136

1137+
@_unavailableInEmbedded
11361138
static var paddingMask: UInt {
11371139
#if _pointerBitWidth(_64)
11381140
0x8000_0000_0000_0000
@@ -1143,6 +1145,7 @@ internal struct ComputedArgumentSize {
11431145
#endif
11441146
}
11451147

1148+
@_unavailableInEmbedded
11461149
static var paddingShift: UInt {
11471150
#if _pointerBitWidth(_64)
11481151
63
@@ -1153,6 +1156,7 @@ internal struct ComputedArgumentSize {
11531156
#endif
11541157
}
11551158

1159+
@_unavailableInEmbedded
11561160
static var alignmentShift: UInt {
11571161
#if _pointerBitWidth(_64)
11581162
// On 64 bit platforms, we don't need to record alignment in this structure.
@@ -1204,6 +1208,7 @@ internal struct ComputedArgumentSize {
12041208
// platforms, we don't actually record this in the bit pattern anywhere, but
12051209
// on 32 bit platforms we use the top bit to indicate either 8 or 16 byte
12061210
// alignment. This returns 0 if no padding was recorded.
1211+
@_unavailableInEmbedded
12071212
var alignment: Int {
12081213
get {
12091214
// If we didn't record a padding value, then this argument's alignment was

0 commit comments

Comments
 (0)