mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
Use SmallPtrSet instaed of std::set
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37548 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
87f05a2416
commit
bdfa1f837c
@ -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…
x
Reference in New Issue
Block a user