1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

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

vars.

llvm-svn: 25492
This commit is contained in:
Chris Lattner 2006-01-21 01:35:26 +00:00
parent 75adb3d269
commit 1ecabc5a6f

View File

@ -517,7 +517,6 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
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 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
EmitAlignment(Align, I);
O << name << ":\t\t\t\t; '" << I->getName() << "'\n";
EmitGlobalConstant(C);
O << '\n';
}
}