[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:
Karoy Lorentey
2018-04-25 15:22:04 +01:00
parent 239c2c91dd
commit 0342ce3b96
21 changed files with 1 additions and 187 deletions

View File

@@ -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