projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use the new isFreeCall API and ArgOperand accessors
[oota-llvm.git]
/
lib
/
Analysis
/
PostDominators.cpp
diff --git
a/lib/Analysis/PostDominators.cpp
b/lib/Analysis/PostDominators.cpp
index 4853c2ac87b7998cabca44b0305eead84dc5991a..f0f3a05db8a0e789bab6c78b65abe34ccd45f0bf 100644
(file)
--- a/
lib/Analysis/PostDominators.cpp
+++ b/
lib/Analysis/PostDominators.cpp
@@
-33,15
+33,18
@@
F("postdomtree", "Post-Dominator Tree Construction", true, true);
bool PostDominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
bool PostDominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
- DEBUG(DT->dump());
return false;
}
return false;
}
-PostDominatorTree::~PostDominatorTree()
-{
+PostDominatorTree::~PostDominatorTree() {
delete DT;
}
delete DT;
}
+void PostDominatorTree::print(raw_ostream &OS, const Module *) const {
+ DT->print(OS);
+}
+
+
FunctionPass* llvm::createPostDomTree() {
return new PostDominatorTree();
}
FunctionPass* llvm::createPostDomTree() {
return new PostDominatorTree();
}