Skip to content

Commit 4762b37

Browse files
committed
Remove inlining of _BridgeableMetatype
1 parent b80991d commit 4762b37

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

stdlib/public/core/BridgeObjectiveC.swift

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,32 +94,26 @@ public protocol _ObjectiveCBridgeable {
9494
/// a metatype, make it conform to _ObjectiveCBridgeable, and its witness table
9595
/// will be ABI-compatible with one that directly provided conformance to the
9696
/// metatype type itself.
97-
@_fixed_layout
9897
public struct _BridgeableMetatype: _ObjectiveCBridgeable {
99-
@usableFromInline // FIXME(sil-serialize-all)
10098
internal var value: AnyObject.Type
10199

102-
@inlinable // FIXME(sil-serialize-all)
103100
internal init(value: AnyObject.Type) {
104101
self.value = value
105102
}
106103

107104
public typealias _ObjectiveCType = AnyObject
108105

109-
@inlinable // FIXME(sil-serialize-all)
110106
public func _bridgeToObjectiveC() -> AnyObject {
111107
return value
112108
}
113109

114-
@inlinable // FIXME(sil-serialize-all)
115110
public static func _forceBridgeFromObjectiveC(
116111
_ source: AnyObject,
117112
result: inout _BridgeableMetatype?
118113
) {
119114
result = _BridgeableMetatype(value: source as! AnyObject.Type)
120115
}
121116

122-
@inlinable // FIXME(sil-serialize-all)
123117
public static func _conditionallyBridgeFromObjectiveC(
124118
_ source: AnyObject,
125119
result: inout _BridgeableMetatype?
@@ -133,7 +127,6 @@ public struct _BridgeableMetatype: _ObjectiveCBridgeable {
133127
return false
134128
}
135129

136-
@inlinable // FIXME(sil-serialize-all)
137130
@_effects(readonly)
138131
public static func _unconditionallyBridgeFromObjectiveC(_ source: AnyObject?)
139132
-> _BridgeableMetatype {

0 commit comments

Comments
 (0)