Skip to content

Commit cc8a351

Browse files
committed
[stdlib] Never inline two more string-to-integer parsing methods.
1 parent 7c333b8 commit cc8a351

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stdlib/public/core/IntegerParsing.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ internal func _parseASCIIDigits<
7272
// N.B.: This free function is a manually specialized version of the function
7373
// above. Ensure that any changes are made in sync.
7474
@_alwaysEmitIntoClient
75+
@inline(never)
7576
internal func _parseASCIIDigits<Result: FixedWidthInteger>(
7677
_ codeUnits: UnsafeBufferPointer<UInt8>, radix: Int, isNegative: Bool
7778
) -> Result? {
@@ -143,6 +144,7 @@ internal func _parseASCII<UTF8CodeUnits: Collection, Result: FixedWidthInteger>(
143144
}
144145

145146
@_alwaysEmitIntoClient
147+
@inline(never)
146148
internal func _parseASCII<Result: FixedWidthInteger>(
147149
_ codeUnits: UnsafeBufferPointer<UInt8>, radix: Int
148150
) -> Result? {

0 commit comments

Comments
 (0)