diff options
author | Dan Gohman <gohman@apple.com> | 2008-10-01 15:09:37 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-10-01 15:09:37 +0000 |
commit | 31930c4b9d371ea3a0ff8a861561b1cf3ed3c0bc (patch) | |
tree | 007e427874fe2866c2f30b86ae42cadc530f2817 | |
parent | 4fc0374c0e76f8142d34e3ffe30cb2fc2bf70bc3 (diff) | |
download | external_llvm-31930c4b9d371ea3a0ff8a861561b1cf3ed3c0bc.zip external_llvm-31930c4b9d371ea3a0ff8a861561b1cf3ed3c0bc.tar.gz external_llvm-31930c4b9d371ea3a0ff8a861561b1cf3ed3c0bc.tar.bz2 |
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
-rw-r--r-- | lib/VMCore/AsmWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index d46ff3f..6c7b68b 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<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)) { |