Remove a method made dead by the prior refactoring.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 21 Jul 2013 00:01:34 +0000 (00:01 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 21 Jul 2013 00:01:34 +0000 (00:01 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186782 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/PromoteMemoryToRegister.cpp

index 1e689f3052c3365d7b372401c47cb6d64ba6ae97..681facdfd198274f010484a1e95a3c8d1aa54045 100644 (file)
@@ -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();