From: Devang Patel Date: Tue, 12 Jun 2007 00:40:51 +0000 (+0000) Subject: Use SmallPtrSet instaed of std::set X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bdfa1f837cc760da560595b279c171cba8a75781;p=oota-llvm.git Use SmallPtrSet instaed of std::set git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37548 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index 5e0ab84cf97..e6e1ffab778 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -403,8 +403,7 @@ BasicBlock *DominatorTreeBase::findNearestCommonDominator(BasicBlock *A, return A; // Collect NodeA dominators set. - // SmallPtrSet NodeADoms; - std::set NodeADoms; + SmallPtrSet NodeADoms; NodeADoms.insert(NodeA); DomTreeNode *IDomA = NodeA->getIDom(); while(IDomA) {