[PM] Remove the (deeply misguided) 'unregister' functionality from the
authorChandler Carruth <chandlerc@gmail.com>
Mon, 6 Oct 2014 00:13:25 +0000 (00:13 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 6 Oct 2014 00:13:25 +0000 (00:13 +0000)
commit891fb0b4e5feb7bfd0eb81aadd2058226581f02c
tree5571750460cc9d750bd7788e0a1f78cdf5a05910
parent24a19341bb819f0f2c1dda617897809244a69534
[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
include/llvm/PassRegistry.h
lib/IR/PassRegistry.cpp