From aac07eaeef0b29690f18061abc148a2608cd77de Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Tue, 20 Jul 2010 21:22:24 +0000 Subject: 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 --- include/llvm/PassRegistry.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/llvm/PassRegistry.h') 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 AnalysisGroupInfoMap; public: + static PassRegistry *getPassRegistry(); + const PassInfo *getPassInfo(intptr_t TI) const; const PassInfo *getPassInfo(StringRef Arg) const; -- cgit v1.1