mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Add getNode() to post dominators.
Implement the same interface as already available for dominators. llvm-svn: 93194
This commit is contained in:
parent
bd938ebc90
commit
5b16958edc
@ -49,6 +49,10 @@ struct PostDominatorTree : public FunctionPass {
|
||||
return DT->getNode(BB);
|
||||
}
|
||||
|
||||
inline DomTreeNode *getNode(BasicBlock *BB) const {
|
||||
return DT->getNode(BB);
|
||||
}
|
||||
|
||||
inline bool dominates(DomTreeNode* A, DomTreeNode* B) const {
|
||||
return DT->dominates(A, B);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user