From: Reid Spencer Date: Tue, 10 Jan 2006 09:45:57 +0000 (+0000) Subject: Make ValueSymbolTable (temporarily) a friend of Value so it can mod the X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=78df7f141c63e563f82de44ecdcb6bcfe3e633ad;p=oota-llvm.git Make ValueSymbolTable (temporarily) a friend of Value so it can mod the Name of Value instances. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25174 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 8b6601d6959..80ff9c68476 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