forked from OSchip/llvm-project
Remove a method made dead by the prior refactoring.
llvm-svn: 186782
This commit is contained in:
parent
420fafef93
commit
e99f931516
|
@ -286,11 +286,6 @@ public:
|
|||
|
||||
void run();
|
||||
|
||||
/// Return true if BB1 dominates BB2 using the DominatorTree.
|
||||
bool dominates(BasicBlock *BB1, BasicBlock *BB2) const {
|
||||
return DT.dominates(BB1, BB2);
|
||||
}
|
||||
|
||||
private:
|
||||
void RemoveFromAllocasList(unsigned &AllocaIdx) {
|
||||
Allocas[AllocaIdx] = Allocas.back();
|
||||
|
|
Loading…
Reference in New Issue