aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Value.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 8b6601d..80ff9c6 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -51,7 +51,8 @@ private:
PATypeHolder Ty;
Use *UseList;
- friend class SymbolTable; // Allow SymbolTable to directly poke Name.
+ friend class ValueSymbolTable; // Allow ValueSymbolTable to directly mod Name.
+ friend class SymbolTable; // Allow SymbolTable to directly poke Name.
std::string Name;
void operator=(const Value &); // Do not implement