File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -1744,9 +1744,9 @@ extension Array {
1744
1744
}
1745
1745
1746
1746
@available ( SwiftStdlib 6 . 2 , * )
1747
+ @_alwaysEmitIntoClient
1747
1748
public var mutableSpan : MutableSpan < Element > {
1748
1749
@lifetime ( & self )
1749
- @_alwaysEmitIntoClient
1750
1750
mutating get {
1751
1751
// _makeMutableAndUnique*() inserts begin_cow_mutation.
1752
1752
// LifetimeDependence analysis inserts call to end_cow_mutation_addr since we cannot schedule it in the stdlib for mutableSpan property.
Original file line number Diff line number Diff line change @@ -1301,9 +1301,9 @@ extension ArraySlice {
1301
1301
}
1302
1302
1303
1303
@available ( SwiftStdlib 6 . 2 , * )
1304
+ @_alwaysEmitIntoClient
1304
1305
public var mutableSpan : MutableSpan < Element > {
1305
1306
@lifetime ( & self )
1306
- @_alwaysEmitIntoClient
1307
1307
mutating get {
1308
1308
// _makeMutableAndUnique*() inserts begin_cow_mutation.
1309
1309
// LifetimeDependence analysis inserts call to end_cow_mutation_addr since we cannot schedule it in the stdlib for mutableSpan property.
Original file line number Diff line number Diff line change @@ -173,9 +173,9 @@ extension CollectionOfOne {
173
173
}
174
174
175
175
@available ( SwiftStdlib 6 . 2 , * )
176
+ @_alwaysEmitIntoClient
176
177
public var mutableSpan : MutableSpan < Element > {
177
178
@lifetime ( & self )
178
- @_alwaysEmitIntoClient
179
179
mutating get {
180
180
let pointer = unsafe UnsafeMutablePointer< Element > (
181
181
Builtin . addressOfBorrow ( self )
Original file line number Diff line number Diff line change @@ -1243,9 +1243,9 @@ extension ContiguousArray {
1243
1243
}
1244
1244
1245
1245
@available ( SwiftStdlib 6 . 2 , * )
1246
+ @_alwaysEmitIntoClient
1246
1247
public var mutableSpan : MutableSpan < Element > {
1247
1248
@lifetime ( & self )
1248
- @_alwaysEmitIntoClient
1249
1249
mutating get {
1250
1250
// _makeMutableAndUnique*() inserts begin_cow_mutation.
1251
1251
// LifetimeDependence analysis inserts call to end_cow_mutation_addr since we cannot schedule it in the stdlib for mutableSpan property.
Original file line number Diff line number Diff line change @@ -472,9 +472,10 @@ extension InlineArray where Element: ~Copyable {
472
472
}
473
473
474
474
@available ( SwiftStdlib 6 . 2 , * )
475
+ @_alwaysEmitIntoClient
475
476
public var mutableSpan : MutableSpan < Element > {
476
477
@lifetime ( & self )
477
- @_alwaysEmitIntoClient
478
+ @_transparent
478
479
mutating get {
479
480
let pointer = unsafe _mutableAddress
480
481
let span = unsafe MutableSpan( _unsafeStart: pointer, count: count)
You can’t perform that action at this time.
0 commit comments