diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-14 03:30:23 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-14 03:30:23 +0000 |
commit | 34048e2ace447e5bdbd386d599ce768e19e6b18b (patch) | |
tree | f56b5306899d4281196e5339abf3f08797cc7f5f /include/llvm/Module.h | |
parent | 9e932bd566f7cd2c1602b5b5ed4e46e2e00bf736 (diff) |
- Dramatically simplify the Constant::mutateReferences implementation,
allowing it to be called on all constant types (structures/arrays)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4160 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r-- | include/llvm/Module.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Module.h b/include/llvm/Module.h index b34c06b9f5..2b8c0ab5d0 100644 --- a/include/llvm/Module.h +++ b/include/llvm/Module.h @@ -59,7 +59,8 @@ private: SymbolTable *SymTab; // Accessor for the underlying GlobalValRefMap... only through the - // ConstantPointerRef class... + // Constant class... + friend class Constant; friend class ConstantPointerRef; void mutateConstantPointerRef(GlobalValue *OldGV, GlobalValue *NewGV); ConstantPointerRef *getConstantPointerRef(GlobalValue *GV); |