trivial formatting improvement: don't insert extra blank lines between .comm

vars.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25492 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-01-21 01:35:26 +00:00
parent 63ae85f194
commit bc1c215453

View File

@ -517,7 +517,6 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
if (I->hasAppendingLinkage() && EmitSpecialLLVMGlobal(I)) if (I->hasAppendingLinkage() && EmitSpecialLLVMGlobal(I))
continue; continue;
O << '\n';
std::string name = Mang->getValueName(I); std::string name = Mang->getValueName(I);
Constant *C = I->getInitializer(); Constant *C = I->getInitializer();
unsigned Size = TD.getTypeSize(C->getType()); unsigned Size = TD.getTypeSize(C->getType());
@ -559,6 +558,7 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
EmitAlignment(Align, I); EmitAlignment(Align, I);
O << name << ":\t\t\t\t; '" << I->getName() << "'\n"; O << name << ":\t\t\t\t; '" << I->getName() << "'\n";
EmitGlobalConstant(C); EmitGlobalConstant(C);
O << '\n';
} }
} }