From: Dan Gohman Date: Wed, 1 Oct 2008 15:09:37 +0000 (+0000) Subject: Don't prepend a space character for constants in Value::print. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=10b49489bff3f119ccbfba55df9fb14a8a784078;p=oota-llvm.git Don't prepend a space character for constants in Value::print. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56920 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index d46ff3f3a50..6c7b68b41d3 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1809,7 +1809,7 @@ void Value::print(raw_ostream &OS, AssemblyAnnotationWriter *AAW) const { AssemblyWriter W(OS, SlotTable, GV->getParent(), 0); W.write(GV); } else if (const Constant *C = dyn_cast(this)) { - OS << ' ' << C->getType()->getDescription() << ' '; + OS << C->getType()->getDescription() << ' '; std::map TypeTable; WriteConstantInt(OS, C, TypeTable, 0); } else if (const Argument *A = dyn_cast(this)) {