Skip to content

Commit fc25d80

Browse files
committed
Make init(copying:) inlineable, even though its inline(never), to allow specialization.
1 parent e427a5b commit fc25d80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/ArrayBufferProtocol.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ extension _ArrayBufferProtocol where Indices == CountableRange<Int>{
135135
}
136136

137137
// Make sure the compiler does not inline _copyBuffer to reduce code size.
138+
@_inlineable
138139
@inline(never)
139140
@_versioned
140141
internal init(copying buffer: Self) {

0 commit comments

Comments
 (0)