mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Merge pull request #40168 from bnbarham/rebranch-failures
[rebranch] Fix compilation failures
This commit is contained in:
@@ -38,11 +38,11 @@ struct WidthPreservingAPIntDenseMapInfo {
|
||||
}
|
||||
|
||||
static unsigned getHashValue(const APInt &Key) {
|
||||
return static_cast<unsigned>(hash_value(Key));
|
||||
return llvm::DenseMapInfo<APInt>::getHashValue(Key);
|
||||
}
|
||||
|
||||
static bool isEqual(const APInt &LHS, const APInt &RHS) {
|
||||
return LHS.getBitWidth() == RHS.getBitWidth() && LHS == RHS;
|
||||
return llvm::DenseMapInfo<APInt>::isEqual(LHS, RHS);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user