mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-24 12:36:30 +00:00
Use SmallPtrSet instaed of std::set
llvm-svn: 37548
This commit is contained in:
parent
31da507473
commit
520e92a7f4
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user