Skip to content

Commit 1dccb45

Browse files
committed
[stdlib] Revert @_transparent to prevent SIL size explosion
1 parent 46dc04f commit 1dccb45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/core/Integers.swift.gyb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2292,7 +2292,7 @@ ${unsafeOperationComment(x.operator)}
22922292
}
22932293
% end
22942294

2295-
@_transparent
2295+
@inline(__always)
22962296
public init<T : BinaryInteger>(extendingOrTruncating source: T) {
22972297
if Self.bitWidth <= ${word_bits} || source.bitWidth <= ${word_bits} {
22982298
self = Self.init(_truncatingBits: source._lowWord)

0 commit comments

Comments
 (0)