mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-21 02:24:22 +00:00
[mc] Clean up emission of byte sequences
No functional change intended. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235178 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -915,8 +915,7 @@ void MachObjectWriter::WriteObject(MCAssembler &Asm,
|
||||
Asm.writeSectionData(it, Layout);
|
||||
|
||||
uint64_t Pad = getPaddingSize(it, Layout);
|
||||
for (unsigned int i = 0; i < Pad; ++i)
|
||||
Write8(0);
|
||||
WriteZeros(Pad);
|
||||
}
|
||||
|
||||
// Write the extra padding.
|
||||
|
Reference in New Issue
Block a user