[PM] Remove the (deeply misguided) 'unregister' functionality from the
[oota-llvm.git] / include / llvm / PassRegistry.h
index 327a152147c70ce9a1bd09e5e34c502f81e514d9..6233f24c5fd8a7c2a70938e6300777192f4f1d69 100644 (file)
@@ -78,10 +78,6 @@ public:
   /// registry.  Required in order to use the pass with a PassManager.
   void registerPass(const PassInfo &PI, bool ShouldFree = false);
 
-  /// registerPass - Unregister a pass (by means of its PassInfo) with the
-  /// registry.
-  void unregisterPass(const PassInfo &PI);
-
   /// registerAnalysisGroup - Register an analysis group (or a pass implementing
   // an analysis group) with the registry.  Like registerPass, this is required
   // in order for a PassManager to be able to use this group/pass.