File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ extension FixedWidthInteger {
87
87
// _parseASCII function thunk that prevents inlining used as an implementation
88
88
// detail for FixedWidthInteger.init(_: radix:) on the slow path to save code
89
89
// size.
90
+ @_semantics ( " optimize.sil.specialize.generic.partial.never " )
90
91
@inline ( never)
91
92
internal static func _parseASCIISlowPath<
92
93
CodeUnits : IteratorProtocol , Result: FixedWidthInteger
@@ -129,6 +130,7 @@ extension FixedWidthInteger {
129
130
/// `radix`.
130
131
/// - radix: The radix, or base, to use for converting `text` to an integer
131
132
/// value. `radix` must be in the range `2...36`. The default is 10.
133
+ @_semantics ( " optimize.sil.specialize.generic.partial.never " )
132
134
public init ? /*<S : StringProtocol>*/( _ text: String , radix: Int = 10 ) {
133
135
_precondition ( 2 ... 36 ~= radix, " Radix not in range 2...36 " )
134
136
let r = Self ( radix)
Original file line number Diff line number Diff line change @@ -169,6 +169,7 @@ where Source.Iterator.Element == SourceEncoding.CodeUnit {
169
169
encodedAs: sourceEncoding) { p, _ in try body ( p) }
170
170
}
171
171
172
+ @_semantics ( " optimize.sil.specialize.generic.partial.never " )
172
173
internal func _withCStringAndLength<
173
174
Source : Collection ,
174
175
SourceEncoding : Unicode . Encoding ,
You can’t perform that action at this time.
0 commit comments