1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Use SmallPtrSet instaed of std::set

llvm-svn: 37548
This commit is contained in:
Devang Patel 2007-06-12 00:40:51 +00:00
parent 31da507473
commit 520e92a7f4

View File

@ -403,8 +403,7 @@ BasicBlock *DominatorTreeBase::findNearestCommonDominator(BasicBlock *A,
return A;
// Collect NodeA dominators set.
// SmallPtrSet<DomTreeNode*, 16> NodeADoms;
std::set<DomTreeNode*> NodeADoms;
SmallPtrSet<DomTreeNode*, 16> NodeADoms;
NodeADoms.insert(NodeA);
DomTreeNode *IDomA = NodeA->getIDom();
while(IDomA) {