eliminate the Type::getDescription() method, using "<<" instead. This

removes some gunk from LLVMContext.

llvm-svn: 133360
This commit is contained in:
Chris Lattner
2011-06-18 21:18:23 +00:00
parent 8a05de5538
commit 0f214ebe5a
8 changed files with 41 additions and 67 deletions

View File

@@ -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();