mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-09 06:47:45 +00:00
Attempt to appease the DragonEgg buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122288 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b77f56194
commit
bb39ac1458
@ -301,7 +301,30 @@ namespace {
|
|||||||
deleted();
|
deleted();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace llvm {
|
||||||
|
template<>
|
||||||
|
struct DenseMapInfo<LVIValueHandle> {
|
||||||
|
typedef DenseMapInfo<Value*> PointerInfo;
|
||||||
|
static inline LVIValueHandle getEmptyKey() {
|
||||||
|
return LVIValueHandle(PointerInfo::getEmptyKey(),
|
||||||
|
static_cast<LazyValueInfoCache*>(0));
|
||||||
|
}
|
||||||
|
static inline LVIValueHandle getTombstoneKey() {
|
||||||
|
return LVIValueHandle(PointerInfo::getTombstoneKey(),
|
||||||
|
static_cast<LazyValueInfoCache*>(0));
|
||||||
|
}
|
||||||
|
static unsigned getHashValue(const LVIValueHandle &Val) {
|
||||||
|
return PointerInfo::getHashValue(Val);
|
||||||
|
}
|
||||||
|
static bool isEqual(const LVIValueHandle &LHS, const LVIValueHandle &RHS) {
|
||||||
|
return LHS == RHS;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace {
|
||||||
/// LazyValueInfoCache - This is the cache kept by LazyValueInfo which
|
/// LazyValueInfoCache - This is the cache kept by LazyValueInfo which
|
||||||
/// maintains information about queries across the clients' queries.
|
/// maintains information about queries across the clients' queries.
|
||||||
class LazyValueInfoCache {
|
class LazyValueInfoCache {
|
||||||
@ -392,27 +415,6 @@ namespace {
|
|||||||
};
|
};
|
||||||
} // end anonymous namespace
|
} // end anonymous namespace
|
||||||
|
|
||||||
namespace llvm {
|
|
||||||
template<>
|
|
||||||
struct DenseMapInfo<LVIValueHandle> {
|
|
||||||
typedef DenseMapInfo<Value*> PointerInfo;
|
|
||||||
static inline LVIValueHandle getEmptyKey() {
|
|
||||||
return LVIValueHandle(PointerInfo::getEmptyKey(),
|
|
||||||
static_cast<LazyValueInfoCache*>(0));
|
|
||||||
}
|
|
||||||
static inline LVIValueHandle getTombstoneKey() {
|
|
||||||
return LVIValueHandle(PointerInfo::getTombstoneKey(),
|
|
||||||
static_cast<LazyValueInfoCache*>(0));
|
|
||||||
}
|
|
||||||
static unsigned getHashValue(const LVIValueHandle &Val) {
|
|
||||||
return PointerInfo::getHashValue(Val);
|
|
||||||
}
|
|
||||||
static bool isEqual(const LVIValueHandle &LHS, const LVIValueHandle &RHS) {
|
|
||||||
return LHS == RHS;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
void LVIValueHandle::deleted() {
|
void LVIValueHandle::deleted() {
|
||||||
for (std::set<std::pair<AssertingVH<BasicBlock>, Value*> >::iterator
|
for (std::set<std::pair<AssertingVH<BasicBlock>, Value*> >::iterator
|
||||||
I = Parent->OverDefinedCache.begin(),
|
I = Parent->OverDefinedCache.begin(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user