aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/PassRegistry.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-07-21 17:52:45 +0000
committerOwen Anderson <resistor@mac.com>2010-07-21 17:52:45 +0000
commit9650983b9a30804d3479aeffb2a7f8bdb6b33942 (patch)
tree9dac49e911dfb4a50f29f886b66b15f8cb2a2fe8 /include/llvm/PassRegistry.h
parent45953215210ad06a3901b026bdee1d4352294407 (diff)
downloadexternal_llvm-9650983b9a30804d3479aeffb2a7f8bdb6b33942.zip
external_llvm-9650983b9a30804d3479aeffb2a7f8bdb6b33942.tar.gz
external_llvm-9650983b9a30804d3479aeffb2a7f8bdb6b33942.tar.bz2
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
Diffstat (limited to 'include/llvm/PassRegistry.h')
-rw-r--r--include/llvm/PassRegistry.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/PassRegistry.h b/include/llvm/PassRegistry.h
index 7b1b6fc..193ecfd 100644
--- a/include/llvm/PassRegistry.h
+++ b/include/llvm/PassRegistry.h
@@ -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);