Don't prepend a space character for constants in Value::print.

llvm-svn: 56920
This commit is contained in:
Dan Gohman 2008-10-01 15:09:37 +00:00
parent 3a293e7404
commit fbd67be50e
1 changed files with 1 additions and 1 deletions

View File

@ -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<Constant>(this)) {
OS << ' ' << C->getType()->getDescription() << ' ';
OS << C->getType()->getDescription() << ' ';
std::map<const Type *, std::string> TypeTable;
WriteConstantInt(OS, C, TypeTable, 0);
} else if (const Argument *A = dyn_cast<Argument>(this)) {