mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-19 02:08:06 +00:00
Speculative build fix for non-Windows
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303667 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e495804158
commit
2d1ebed099
@ -34,6 +34,7 @@ struct HashedTypePtr {
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace llvm {
|
||||
template <> struct DenseMapInfo<HashedTypePtr> {
|
||||
static inline HashedTypePtr getEmptyKey() { return HashedTypePtr(nullptr); }
|
||||
static inline HashedTypePtr getTombstoneKey() {
|
||||
@ -53,6 +54,7 @@ template <> struct DenseMapInfo<HashedTypePtr> {
|
||||
return ::memcmp(LHS->Data, RHS->Data, LHS->Size) == 0;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
/// Private implementation so that we don't leak our DenseMap instantiations to
|
||||
/// users.
|
||||
|
Loading…
x
Reference in New Issue
Block a user