mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SE-0206][stdlib] Remove obsolete hashValue implementations
These are now synthesized by the compiler. (Inlinability will be different, but that seems fine.)
This commit is contained in:
@@ -440,11 +440,6 @@ internal struct ComputedPropertyID: Hashable {
|
||||
&& x.isTableOffset == x.isTableOffset
|
||||
}
|
||||
|
||||
@inlinable // FIXME(sil-serialize-all)
|
||||
internal var hashValue: Int {
|
||||
return _hashValue(for: self)
|
||||
}
|
||||
|
||||
@inlinable // FIXME(sil-serialize-all)
|
||||
internal func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(value)
|
||||
@@ -573,11 +568,6 @@ internal enum KeyPathComponent: Hashable {
|
||||
}
|
||||
}
|
||||
|
||||
@inlinable // FIXME(sil-serialize-all)
|
||||
internal var hashValue: Int {
|
||||
return _hashValue(for: self)
|
||||
}
|
||||
|
||||
@inlinable // FIXME(sil-serialize-all)
|
||||
internal func hash(into hasher: inout Hasher) {
|
||||
var hasher = hasher
|
||||
|
||||
Reference in New Issue
Block a user