diff options
| author | Dan Gohman <gohman@apple.com> | 2009-10-30 02:01:10 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2009-10-30 02:01:10 +0000 |
| commit | 0ed1f4264ae1f30eb164ca8fc94669c4f9bbd4f7 (patch) | |
| tree | e6ba84b24b4757e6464bfd368026f5851928d913 /lib/VMCore | |
| parent | 6a55e62996e1f7223ecab0f26216a2f32e8ae7e4 (diff) | |
| download | external_llvm-0ed1f4264ae1f30eb164ca8fc94669c4f9bbd4f7.zip external_llvm-0ed1f4264ae1f30eb164ca8fc94669c4f9bbd4f7.tar.gz external_llvm-0ed1f4264ae1f30eb164ca8fc94669c4f9bbd4f7.tar.bz2 | |
Simplify this code and avoid an extra space character in the output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
| -rw-r--r-- | lib/VMCore/AsmWriter.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 2a25841..9a803a1 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1859,8 +1859,7 @@ void AssemblyWriter::printInstruction(const Instruction &I) { // Special case indirectbr instruction to get formatting nice and correct. Out << ' '; writeOperand(Operand, true); - Out << ", "; - Out << " ["; + Out << ", ["; for (unsigned i = 1, e = I.getNumOperands(); i != e; ++i) { if (i != 1) |
