aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-08-27 22:30:17 +0000
committerChris Lattner <sabre@nondot.org>2006-08-27 22:30:17 +0000
commit5d8925c7c506a54ebdfb0bc93437ec9f602eaaa0 (patch)
treedea599a5388d6da5b94fec761128353f08be2dc3 /lib/Analysis/InstCount.cpp
parent2dd3d423aae84649c434b2a58ba4ed7e918580d8 (diff)
Eliminate RegisterAnalysis. RegisterPass now does all that is necessary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29921 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/InstCount.cpp')
-rw-r--r--lib/Analysis/InstCount.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/InstCount.cpp b/lib/Analysis/InstCount.cpp
index df11fc4895..72bc2c7238 100644
--- a/lib/Analysis/InstCount.cpp
+++ b/lib/Analysis/InstCount.cpp
@@ -55,8 +55,8 @@ namespace {
};
- RegisterAnalysis<InstCount> X("instcount",
- "Counts the various types of Instructions");
+ RegisterPass<InstCount> X("instcount",
+ "Counts the various types of Instructions");
}
FunctionPass *llvm::createInstCountPass() { return new InstCount(); }