aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/AliasAnalysisEvaluator.cpp
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 /lib/Analysis/AliasAnalysisEvaluator.cpp
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 'lib/Analysis/AliasAnalysisEvaluator.cpp')
-rw-r--r--lib/Analysis/AliasAnalysisEvaluator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/AliasAnalysisEvaluator.cpp b/lib/Analysis/AliasAnalysisEvaluator.cpp
index 648760a..868de34 100644
--- a/lib/Analysis/AliasAnalysisEvaluator.cpp
+++ b/lib/Analysis/AliasAnalysisEvaluator.cpp
@@ -52,7 +52,7 @@ namespace {
public:
static char ID; // Pass identification, replacement for typeid
- AAEval() : FunctionPass((intptr_t)&ID, true) {}
+ AAEval() : FunctionPass((intptr_t)&ID) {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<AliasAnalysis>();
@@ -76,7 +76,7 @@ namespace {
char AAEval::ID = 0;
RegisterPass<AAEval>
- X("aa-eval", "Exhaustive Alias Analysis Precision Evaluator");
+ X("aa-eval", "Exhaustive Alias Analysis Precision Evaluator", true, true);
}
FunctionPass *llvm::createAAEvalPass() { return new AAEval(); }