diff options
author | Owen Anderson <resistor@mac.com> | 2010-07-20 21:22:24 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2010-07-20 21:22:24 +0000 |
commit | aac07eaeef0b29690f18061abc148a2608cd77de (patch) | |
tree | 0574003a37189ba73fb7d548177ff93b3b97eb6a /include/llvm/PassRegistry.h | |
parent | aad9c4cf67821eee981f8e7eb870b77c3727b26e (diff) | |
download | external_llvm-aac07eaeef0b29690f18061abc148a2608cd77de.zip external_llvm-aac07eaeef0b29690f18061abc148a2608cd77de.tar.gz external_llvm-aac07eaeef0b29690f18061abc148a2608cd77de.tar.bz2 |
Move more functionality from Pass.cpp to PassRegistry.cpp. This global will go away eventually, but for now we still need it around.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@108932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/PassRegistry.h')
-rw-r--r-- | include/llvm/PassRegistry.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/PassRegistry.h b/include/llvm/PassRegistry.h index 434dacb..1f627d8 100644 --- a/include/llvm/PassRegistry.h +++ b/include/llvm/PassRegistry.h @@ -46,6 +46,8 @@ class PassRegistry { std::map<const PassInfo*, AnalysisGroupInfo> AnalysisGroupInfoMap; public: + static PassRegistry *getPassRegistry(); + const PassInfo *getPassInfo(intptr_t TI) const; const PassInfo *getPassInfo(StringRef Arg) const; |