mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
- 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
This commit is contained in:
@ -63,6 +63,7 @@ private:
|
||||
friend class ConstantPointerRef;
|
||||
void mutateConstantPointerRef(GlobalValue *OldGV, GlobalValue *NewGV);
|
||||
ConstantPointerRef *getConstantPointerRef(GlobalValue *GV);
|
||||
void destroyConstantPointerRef(ConstantPointerRef *CPR);
|
||||
|
||||
public:
|
||||
Module();
|
||||
|
Reference in New Issue
Block a user