aboutsummaryrefslogtreecommitdiffstats
path: root/lib/VMCore
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-19 00:48:41 +0000
committerDevang Patel <dpatel@apple.com>2008-03-19 00:48:41 +0000
commitc7fe32e840758baa9ce4f93c321b508a69b98262 (patch)
tree8880489b1046f714fff98a468cd30202e533b6f4 /lib/VMCore
parentbebc3642d354ef744f3fd55a20d28ba29ec51063 (diff)
downloadexternal_llvm-c7fe32e840758baa9ce4f93c321b508a69b98262.zip
external_llvm-c7fe32e840758baa9ce4f93c321b508a69b98262.tar.gz
external_llvm-c7fe32e840758baa9ce4f93c321b508a69b98262.tar.bz2
Do not use virtual function to identify an analysis pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48520 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r--lib/VMCore/PassManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/PassManager.cpp b/lib/VMCore/PassManager.cpp
index b0afaef..7db6aa2 100644
--- a/lib/VMCore/PassManager.cpp
+++ b/lib/VMCore/PassManager.cpp
@@ -430,7 +430,7 @@ void PMTopLevelManager::schedulePass(Pass *P) {
// generate the analysis again. Stale analysis info should not be
// available at this point.
if (P->isAnalysis() && findAnalysisPass(P->getPassInfo()))
- return;
+ return;
AnalysisUsage AnUsage;
P->getAnalysisUsage(AnUsage);