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
This commit is contained in:
Owen Anderson
2010-07-20 21:22:24 +00:00
parent aad9c4cf67
commit aac07eaeef
3 changed files with 51 additions and 48 deletions

View File

@@ -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;