summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-dis
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
commit0f214ebe5a85c133c83f81d7591f17dcb3fa83ab (patch)
tree7e5419ce20444b5ef1c72581fc81fd5e19d3f79c /llvm/tools/llvm-dis
parent8a05de55383cb2ce3635438aff47d5dfae73aba3 (diff)
downloadbcm5719-llvm-0f214ebe5a85c133c83f81d7591f17dcb3fa83ab.tar.gz
bcm5719-llvm-0f214ebe5a85c133c83f81d7591f17dcb3fa83ab.zip
eliminate the Type::getDescription() method, using "<<" instead. This
removes some gunk from LLVMContext. llvm-svn: 133360
Diffstat (limited to 'llvm/tools/llvm-dis')
-rw-r--r--llvm/tools/llvm-dis/llvm-dis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-dis/llvm-dis.cpp b/llvm/tools/llvm-dis/llvm-dis.cpp
index 7453d9e9f45..9020a527866 100644
--- a/llvm/tools/llvm-dis/llvm-dis.cpp
+++ b/llvm/tools/llvm-dis/llvm-dis.cpp
@@ -74,7 +74,7 @@ public:
if (!V.getType()->isVoidTy()) {
OS.PadToColumn(50);
Padded = true;
- OS << "; [#uses=" << V.getNumUses() << " type=" << V.getType()->getDescription() << "]"; // Output # uses and type
+ OS << "; [#uses=" << V.getNumUses() << " type=" << *V.getType() << "]"; // Output # uses and type
}
if (const Instruction *I = dyn_cast<Instruction>(&V)) {
const DebugLoc &DL = I->getDebugLoc();
OpenPOWER on IntegriCloud