aboutsummaryrefslogtreecommitdiff
path: root/include/llvm/Module.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Module.h')
-rw-r--r--include/llvm/Module.h3
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);