summaryrefslogtreecommitdiff
path: root/include/llvm/Value.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-08-04 04:31:02 +0000
committerChris Lattner <sabre@nondot.org>2009-08-04 04:31:02 +0000
commit0a0193edf9152bdc47a49a1a513d6e9cbf723131 (patch)
treed4520a2b83f9fbac34e293e1962a10c3d4e0e24d /include/llvm/Value.h
parent4b3d57228cae1cba0897b80a73fddd4b8a61894a (diff)
downloadllvm-0a0193edf9152bdc47a49a1a513d6e9cbf723131.tar.gz
llvm-0a0193edf9152bdc47a49a1a513d6e9cbf723131.tar.bz2
llvm-0a0193edf9152bdc47a49a1a513d6e9cbf723131.tar.xz
switch ValueMap to using AssertingVH. This is an old patch I had laying
around in a tree I forgot about. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78048 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r--include/llvm/Value.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index b1db1ce3e1..a7f8774e03 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -38,7 +38,7 @@ class TypeSymbolTable;
template<typename ValueTy> class StringMapEntry;
template <typename ValueTy = Value>
class AssertingVH;
-typedef StringMapEntry<Value*> ValueName;
+typedef StringMapEntry<AssertingVH<> > ValueName;
class raw_ostream;
class AssemblyAnnotationWriter;
class ValueHandleBase;