mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
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:
parent
63ae85f194
commit
bc1c215453
@ -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';
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user