diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-21 23:07:00 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-21 23:07:00 +0000 |
commit | d8cc7be0262092882d848a1c7d8a4cb6752cce6f (patch) | |
tree | 750773301710bd6fa4184b6da9f5daa9dc8c143d /lib/Analysis/IPA/FindUsedTypes.cpp | |
parent | 917290043f87b8efa6ba540bec5963013c517912 (diff) | |
download | llvm-d8cc7be0262092882d848a1c7d8a4cb6752cce6f.tar.gz llvm-d8cc7be0262092882d848a1c7d8a4cb6752cce6f.tar.bz2 llvm-d8cc7be0262092882d848a1c7d8a4cb6752cce6f.tar.xz |
Add INSTANTIATE_AG_PASS, which combines RegisterPass<> with RegisterAnalysisGroup<> for pass registration.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/IPA/FindUsedTypes.cpp')
-rw-r--r-- | lib/Analysis/IPA/FindUsedTypes.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/IPA/FindUsedTypes.cpp b/lib/Analysis/IPA/FindUsedTypes.cpp index c4fb0b9a4e..8eed9d6f68 100644 --- a/lib/Analysis/IPA/FindUsedTypes.cpp +++ b/lib/Analysis/IPA/FindUsedTypes.cpp @@ -23,8 +23,8 @@ using namespace llvm; char FindUsedTypes::ID = 0; -static RegisterPass<FindUsedTypes> -X("print-used-types", "Find Used Types", false, true); +INITIALIZE_PASS(FindUsedTypes, "print-used-types", + "Find Used Types", false, true); // IncorporateType - Incorporate one type and all of its subtypes into the // collection of used types. |