summaryrefslogtreecommitdiff
path: root/lib/Transforms/IPO/DeadTypeElimination.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-08 19:01:30 +0000
committerChris Lattner <sabre@nondot.org>2002-08-08 19:01:30 +0000
commit5f0eb8da62308126d5b61e3eee5bee75b9dc5194 (patch)
treebba3aeeee3028f7253ead1fce9c6e2be5167097e /lib/Transforms/IPO/DeadTypeElimination.cpp
parentdd5b49512976df3225b67f9685642253186cde3d (diff)
downloadllvm-5f0eb8da62308126d5b61e3eee5bee75b9dc5194.tar.gz
llvm-5f0eb8da62308126d5b61e3eee5bee75b9dc5194.tar.bz2
llvm-5f0eb8da62308126d5b61e3eee5bee75b9dc5194.tar.xz
- Cleaned up the interface to AnalysisUsage to take analysis class names
instead of ::ID's. - Pass::getAnalysis<> now no longer takes an optional argument git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/IPO/DeadTypeElimination.cpp')
-rw-r--r--lib/Transforms/IPO/DeadTypeElimination.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/IPO/DeadTypeElimination.cpp b/lib/Transforms/IPO/DeadTypeElimination.cpp
index 3473f526dc..842bc58b29 100644
--- a/lib/Transforms/IPO/DeadTypeElimination.cpp
+++ b/lib/Transforms/IPO/DeadTypeElimination.cpp
@@ -27,7 +27,7 @@ namespace {
// getAnalysisUsage - This function needs FindUsedTypes to do its job...
//
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
- AU.addRequired(FindUsedTypes::ID);
+ AU.addRequired<FindUsedTypes>();
}
};
RegisterOpt<DTE> X("deadtypeelim", "Dead Type Elimination");