diff options
Diffstat (limited to 'include/llvm/Analysis/PostDominators.h')
-rw-r--r-- | include/llvm/Analysis/PostDominators.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/llvm/Analysis/PostDominators.h b/include/llvm/Analysis/PostDominators.h index 94ee3b03bb86f..17f2e8eaf4a25 100644 --- a/include/llvm/Analysis/PostDominators.h +++ b/include/llvm/Analysis/PostDominators.h @@ -22,10 +22,8 @@ namespace llvm { /// PostDominatorTree Class - Concrete subclass of DominatorTree that is used to /// compute the post-dominator tree. /// -struct PostDominatorTree : public DominatorTreeBase<BasicBlock> { - typedef DominatorTreeBase<BasicBlock> Base; - - PostDominatorTree() : DominatorTreeBase<BasicBlock>(true) {} +struct PostDominatorTree : public PostDomTreeBase<BasicBlock> { + typedef PostDomTreeBase<BasicBlock> Base; /// Handle invalidation explicitly. bool invalidate(Function &F, const PreservedAnalyses &PA, |