Skip to content

Commit 915c066

Browse files
committed
[stdlib/resilience] Mark FixedWidthInteger.bitwidth as inlinable
Fixes test/IRGen/enum_derived.swift test case in resilient mode. rdar://31757974
1 parent 9712830 commit 915c066

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/core/Integers.swift.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2172,6 +2172,7 @@ extension FixedWidthInteger {
21722172
@available(swift, deprecated: 3.1, obsoleted: 4.0, message: "Use 0")
21732173
public static var allZeros: Self { return 0 }
21742174

2175+
@_inlineable
21752176
public var bitWidth: Int { return Self.bitWidth }
21762177

21772178
}

0 commit comments

Comments
 (0)