File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,15 @@ extension String.UTF16View {
88
88
internal var _shortHeuristic : Int { return 32 }
89
89
}
90
90
91
- @inlinable @ _transparent
91
+ @usableFromInline
92
92
internal func unimplemented_utf8_32bit(
93
93
_ message: String = " " ,
94
94
file: StaticString = #file, line: UInt = #line
95
95
) -> Never {
96
96
fatalError ( " 32-bit: Unimplemented for UTF-8 support " , file: file, line: line)
97
97
}
98
98
99
- @_transparent
100
- @inlinable
99
+ @usableFromInline
101
100
internal func _unsafePlus( _ lhs: Int , _ rhs: Int ) -> Int {
102
101
#if INTERNAL_CHECKS_ENABLED
103
102
return lhs + rhs
@@ -106,8 +105,7 @@ internal func _unsafePlus(_ lhs: Int, _ rhs: Int) -> Int {
106
105
#endif
107
106
}
108
107
109
- @_transparent
110
- @inlinable
108
+ @usableFromInline
111
109
internal func _unsafeMinus( _ lhs: Int , _ rhs: Int ) -> Int {
112
110
#if INTERNAL_CHECKS_ENABLED
113
111
return lhs - rhs
You can’t perform that action at this time.
0 commit comments