From: Chandler Carruth Date: Sun, 21 Jul 2013 00:01:34 +0000 (+0000) Subject: Remove a method made dead by the prior refactoring. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f61d7e8afa01858e07bf5b3450f40239fc10d1dd;p=oota-llvm.git Remove a method made dead by the prior refactoring. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186782 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp index 1e689f3052c..681facdfd19 100644 --- a/lib/Transforms/Utils/PromoteMemoryToRegister.cpp +++ b/lib/Transforms/Utils/PromoteMemoryToRegister.cpp @@ -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();