[Polly] Remove unused DenseMapInfo::getEmptyKey (#201992)
After #201281 DenseMapInfo<T>::getEmptyKey() is no longer used by DenseMap. Remove the unused getEmptyKey definitions and dead sentinel uses.
This commit is contained in:
parent
eafc7b6722
commit
6b5883b38e
1 changed files with 0 additions and 7 deletions
|
|
@ -322,13 +322,6 @@ public:
|
|||
RHS.getInstruction());
|
||||
}
|
||||
|
||||
static polly::VirtualInstruction getEmptyKey() {
|
||||
polly::VirtualInstruction EmptyKey;
|
||||
EmptyKey.Stmt = DenseMapInfo<polly::ScopStmt *>::getEmptyKey();
|
||||
EmptyKey.Inst = DenseMapInfo<Instruction *>::getEmptyKey();
|
||||
return EmptyKey;
|
||||
}
|
||||
|
||||
static unsigned getHashValue(polly::VirtualInstruction Val) {
|
||||
return DenseMapInfo<std::pair<polly::ScopStmt *, Instruction *>>::
|
||||
getHashValue(std::make_pair(Val.getStmt(), Val.getInstruction()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue