aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Analysis/Dominators.h
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-19 21:56:59 +0000
committerDevang Patel <dpatel@apple.com>2008-03-19 21:56:59 +0000
commit3aab76e3790476cc00f04706e7c6d71fcf2e92a1 (patch)
tree88b334fb5710b2d63089bdb840135dc1e8f7ebfa /include/llvm/Analysis/Dominators.h
parent9f15357bf1a50b2bec0864bfbf4d6a8aa8c8148c (diff)
downloadexternal_llvm-3aab76e3790476cc00f04706e7c6d71fcf2e92a1.zip
external_llvm-3aab76e3790476cc00f04706e7c6d71fcf2e92a1.tar.gz
external_llvm-3aab76e3790476cc00f04706e7c6d71fcf2e92a1.tar.bz2
PassInfo keep tracks whether a pass is an analysis pass or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis/Dominators.h')
-rw-r--r--include/llvm/Analysis/Dominators.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h
index 1b7fa75..ce305d5 100644
--- a/include/llvm/Analysis/Dominators.h
+++ b/include/llvm/Analysis/Dominators.h
@@ -664,7 +664,7 @@ public:
static char ID; // Pass ID, replacement for typeid
DominatorTreeBase<BasicBlock>* DT;
- DominatorTree() : FunctionPass(intptr_t(&ID), true) {
+ DominatorTree() : FunctionPass(intptr_t(&ID)) {
DT = new DominatorTreeBase<BasicBlock>(false);
}
@@ -837,7 +837,7 @@ protected:
public:
DominanceFrontierBase(intptr_t ID, bool isPostDom)
- : FunctionPass(ID, true), IsPostDominators(isPostDom) {}
+ : FunctionPass(ID), IsPostDominators(isPostDom) {}
/// getRoots - Return the root blocks of the current CFG. This may include
/// multiple blocks if we are computing post dominators. For forward