Skip to content

Commit 6d255f5

Browse files
authored
Merge pull request #20429 from lorentey/leftover-inlinability-audits
[stdlib] Inlinability audit
2 parents f0f48e5 + d6868ed commit 6d255f5

File tree

4 files changed

+136
-129
lines changed

4 files changed

+136
-129
lines changed

stdlib/public/core/AnyHashable.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ internal struct _ConcreteHashableBox<Base : Hashable> : _AnyHashableBox {
123123
/// print(descriptions[AnyHashable(43)]) // prints "nil"
124124
/// print(descriptions[AnyHashable(Int8(43))]!) // prints "an Int8"
125125
/// print(descriptions[AnyHashable(Set(["a", "b"]))]!) // prints "a set of strings"
126-
@_fixed_layout // FIXME(sil-serialize-all)
126+
@_fixed_layout
127127
public struct AnyHashable {
128128
internal var _box: _AnyHashableBox
129129

@@ -288,7 +288,6 @@ internal func _makeAnyHashableUsingDefaultRepresentation<H : Hashable>(
288288
}
289289

290290
/// Provided by AnyHashable.cpp.
291-
@usableFromInline // FIXME(sil-serialize-all)
292291
@_silgen_name("_swift_makeAnyHashableUpcastingToHashableBaseType")
293292
internal func _makeAnyHashableUpcastingToHashableBaseType<H : Hashable>(
294293
_ value: H,

0 commit comments

Comments
 (0)