[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Chris Lattner
lattner at cs.uiuc.edu
Fri Jan 20 17:35:38 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCAsmPrinter.cpp updated: 1.139 -> 1.140
---
Log message:
trivial formatting improvement: don't insert extra blank lines between .comm
vars.
---
Diffs of the changes: (+1 -1)
PPCAsmPrinter.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
diff -u llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.139 llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.140
--- llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp:1.139 Wed Jan 18 10:54:26 2006
+++ llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp Fri Jan 20 19:35:26 2006
@@ -517,7 +517,6 @@
if (I->hasAppendingLinkage() && EmitSpecialLLVMGlobal(I))
continue;
- O << '\n';
std::string name = Mang->getValueName(I);
Constant *C = I->getInitializer();
unsigned Size = TD.getTypeSize(C->getType());
@@ -559,6 +558,7 @@
EmitAlignment(Align, I);
O << name << ":\t\t\t\t; '" << I->getName() << "'\n";
EmitGlobalConstant(C);
+ O << '\n';
}
}
More information about the llvm-commits
mailing list