mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Add getNode() to post dominators.
Implement the same interface as already available for dominators. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93194 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
199c4240fe
commit
af4421d6ef
@ -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…
x
Reference in New Issue
Block a user