Move the smarts of AnalysisGroup registration into PassRegistry.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109019 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson
2010-07-21 17:52:45 +00:00
parent 4595321521
commit 9650983b9a
3 changed files with 38 additions and 40 deletions

View File

@@ -58,9 +58,8 @@ public:
void unregisterPass(const PassInfo &PI);
/// Analysis Group Mechanisms.
void registerAnalysisGroup(PassInfo *InterfaceInfo,
const PassInfo *ImplementationInfo,
bool isDefault);
void registerAnalysisGroup(intptr_t InterfaceID, intptr_t PassID,
PassInfo& Registeree, bool isDefault);
void enumerateWith(PassRegistrationListener *L);
void addRegistrationListener(PassRegistrationListener* L);