[llvm-commits] CVS: llvm/lib/VMCore/AsmWriter.cpp

Chris Lattner lattner at cs.uiuc.edu
Sat Nov 5 13:20:46 PST 2005



Changes in directory llvm/lib/VMCore:

AsmWriter.cpp updated: 1.182 -> 1.183
---
Log message:

fix printing the alignment directive


---
Diffs of the changes:  (+1 -1)

 AsmWriter.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/VMCore/AsmWriter.cpp
diff -u llvm/lib/VMCore/AsmWriter.cpp:1.182 llvm/lib/VMCore/AsmWriter.cpp:1.183
--- llvm/lib/VMCore/AsmWriter.cpp:1.182	Sat Nov  5 03:21:28 2005
+++ llvm/lib/VMCore/AsmWriter.cpp	Sat Nov  5 15:20:34 2005
@@ -1173,7 +1173,7 @@
       writeOperand(AI->getArraySize(), true);
     }
     if (AI->getAlignment()) {
-      Out << ", " << AI->getAlignment();
+      Out << ", align " << AI->getAlignment();
     }
   } else if (isa<CastInst>(I)) {
     if (Operand) writeOperand(Operand, true);   // Work with broken code






More information about the llvm-commits mailing list