[llvm-commits] [llvm] r85568 - /llvm/trunk/lib/VMCore/AsmWriter.cpp

Dan Gohman gohman at apple.com
Thu Oct 29 19:01:11 PDT 2009


Author: djg
Date: Thu Oct 29 21:01:10 2009
New Revision: 85568

URL: http://llvm.org/viewvc/llvm-project?rev=85568&view=rev
Log:
Simplify this code and avoid an extra space character in the output.

Modified:
    llvm/trunk/lib/VMCore/AsmWriter.cpp

Modified: llvm/trunk/lib/VMCore/AsmWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/AsmWriter.cpp?rev=85568&r1=85567&r2=85568&view=diff

==============================================================================
--- llvm/trunk/lib/VMCore/AsmWriter.cpp (original)
+++ llvm/trunk/lib/VMCore/AsmWriter.cpp Thu Oct 29 21:01:10 2009
@@ -1859,8 +1859,7 @@
     // 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)





More information about the llvm-commits mailing list