[llvm] r186782 - Remove a method made dead by the prior refactoring.

Chandler Carruth chandlerc at gmail.com
Sat Jul 20 17:01:34 PDT 2013


Author: chandlerc
Date: Sat Jul 20 19:01:34 2013
New Revision: 186782

URL: http://llvm.org/viewvc/llvm-project?rev=186782&view=rev
Log:
Remove a method made dead by the prior refactoring.

Modified:
    llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp

Modified: llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp?rev=186782&r1=186781&r2=186782&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/PromoteMemoryToRegister.cpp Sat Jul 20 19:01:34 2013
@@ -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();





More information about the llvm-commits mailing list