From 3aab76e3790476cc00f04706e7c6d71fcf2e92a1 Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Wed, 19 Mar 2008 21:56:59 +0000 Subject: 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 --- include/llvm/Analysis/Dominators.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/llvm/Analysis/Dominators.h') 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* DT; - DominatorTree() : FunctionPass(intptr_t(&ID), true) { + DominatorTree() : FunctionPass(intptr_t(&ID)) { DT = new DominatorTreeBase(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 -- cgit v1.1