summaryrefslogtreecommitdiff
path: root/lib/VMCore/ValueSymbolTable.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-06-18 21:18:23 +0000
committerChris Lattner <sabre@nondot.org>2011-06-18 21:18:23 +0000
commit0cd0d881604775f3f97048645f040b2ef4f61e4b (patch)
tree3340f491b6eefaabc97dc41d3287b6c38fcaa474 /lib/VMCore/ValueSymbolTable.cpp
parent70d0ff1a977273c925fea03070cf33c4a6cbd2cf (diff)
downloadllvm-0cd0d881604775f3f97048645f040b2ef4f61e4b.tar.gz
llvm-0cd0d881604775f3f97048645f040b2ef4f61e4b.tar.bz2
llvm-0cd0d881604775f3f97048645f040b2ef4f61e4b.tar.xz
eliminate the Type::getDescription() method, using "<<" instead. This
removes some gunk from LLVMContext. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/ValueSymbolTable.cpp')
-rw-r--r--lib/VMCore/ValueSymbolTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/ValueSymbolTable.cpp b/lib/VMCore/ValueSymbolTable.cpp
index 254bf06439..f1c970361a 100644
--- a/lib/VMCore/ValueSymbolTable.cpp
+++ b/lib/VMCore/ValueSymbolTable.cpp
@@ -25,7 +25,7 @@ ValueSymbolTable::~ValueSymbolTable() {
#ifndef NDEBUG // Only do this in -g mode...
for (iterator VI = vmap.begin(), VE = vmap.end(); VI != VE; ++VI)
dbgs() << "Value still in symbol table! Type = '"
- << VI->getValue()->getType()->getDescription() << "' Name = '"
+ << *VI->getValue()->getType() << "' Name = '"
<< VI->getKeyData() << "'\n";
assert(vmap.empty() && "Values remain in symbol table!");
#endif