aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/PostDominators.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Analysis/PostDominators.h')
-rw-r--r--include/llvm/Analysis/PostDominators.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/Analysis/PostDominators.h b/include/llvm/Analysis/PostDominators.h
index d87f604..098339a 100644
--- a/include/llvm/Analysis/PostDominators.h
+++ b/include/llvm/Analysis/PostDominators.h
@@ -27,11 +27,7 @@ struct PostDominatorTree : public DominatorTreeBase {
PostDominatorTree() :
DominatorTreeBase((intptr_t)&ID, true) {}
- virtual bool runOnFunction(Function &F) {
- reset(); // Reset from the last time we were run...
- PDTcalculate(*this, F);
- return false;
- }
+ virtual bool runOnFunction(Function &F);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();