parent
fd8352c2b9
commit
61377a3dc8
|
@ -508,7 +508,10 @@ public:
|
|||
///
|
||||
virtual void print(std::ostream &o, const Module* ) const {
|
||||
o << "=============================--------------------------------\n";
|
||||
o << "Inorder Dominator Tree: ";
|
||||
if (this->isPostDominator())
|
||||
o << "Inorder PostDominator Tree: ";
|
||||
else
|
||||
o << "Inorder Dominator Tree: ";
|
||||
if (this->DFSInfoValid)
|
||||
o << "DFSNumbers invalid: " << SlowQueries << " slow queries.";
|
||||
o << "\n";
|
||||
|
|
|
@ -54,6 +54,10 @@ struct PostDominatorTree : public FunctionPass {
|
|||
inline bool properlyDominates(BasicBlock* A, BasicBlock* B) const {
|
||||
return DT->properlyDominates(A, B);
|
||||
}
|
||||
|
||||
virtual void print(std::ostream &OS, const Module* M= 0) const {
|
||||
DT->print(OS, M);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue