[llvm-commits] [llvm] r68352 - /llvm/trunk/include/llvm/Value.h
Chris Lattner
sabre at nondot.org
Thu Apr 2 17:10:31 PDT 2009
Author: lattner
Date: Thu Apr 2 19:10:31 2009
New Revision: 68352
URL: http://llvm.org/viewvc/llvm-project?rev=68352&view=rev
Log:
add patch to go along with r68350
Modified:
llvm/trunk/include/llvm/Value.h
Modified: llvm/trunk/include/llvm/Value.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Value.h?rev=68352&r1=68351&r2=68352&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Value.h (original)
+++ llvm/trunk/include/llvm/Value.h Thu Apr 2 19:10:31 2009
@@ -34,7 +34,9 @@
class ValueSymbolTable;
class TypeSymbolTable;
template<typename ValueTy> class StringMapEntry;
-typedef StringMapEntry<Value*> ValueName;
+template <typename ValueTy = Value>
+class AssertingVH;
+typedef StringMapEntry<AssertingVH<> > ValueName;
class raw_ostream;
class AssemblyAnnotationWriter;
class ValueHandleBase;
More information about the llvm-commits
mailing list