mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 16:19:52 +00:00
[PM] Remove the (deeply misguided) 'unregister' functionality from the
pass registry. This style of registry is somewhat questionable, but it being non-monotonic is crazy. No one is (or should be) unloading DSOs with passes and unregistering them here. I've checked with a few folks and I don't know of anyone using this functionality or any important use case where it is necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user