- ConstantPointerRefs are now automatically removed from the module table
authorChris Lattner <sabre@nondot.org>
Sun, 18 Aug 2002 00:40:04 +0000 (00:40 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Aug 2002 00:40:04 +0000 (00:40 +0000)
commit41661fdb2e963610b399c8ebe51a507847ef997d
treed8a229641bb70cd6467beb3b7ee640ad542f247a
parente0fbb497ee44f86ec108e4ff8787a848c6ee8655
- ConstantPointerRefs are now automatically removed from the module table
    when they are destroyed, which makes Constant::destroyConstant an actually
    useful external interface.  Expose these methods publicly.
  - Implement destroyConstant on ConstPointerNull so that destroyConstant can
    be used on any derived type constant safely.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3379 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/Constants.cpp
lib/VMCore/Module.cpp