- ConstantPointerRefs are now automatically removed from the module table
authorChris Lattner <sabre@nondot.org>
Sun, 18 Aug 2002 00:39:59 +0000 (00:39 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 18 Aug 2002 00:39:59 +0000 (00:39 +0000)
commite0fbb497ee44f86ec108e4ff8787a848c6ee8655
tree7ce7b1156c9a8032c2542a2aa536bedd799fd4b9
parent915ce8a02ebefd02b3c34a43267aae5c608ee170
  - 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@3378 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Constant.h
include/llvm/Constants.h
include/llvm/Module.h