mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-02 08:26:39 +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:
@@ -178,12 +178,7 @@ public:
|
||||
for (uint64_t i = 0; i != NumNops; ++i)
|
||||
OW->Write32(0x60000000);
|
||||
|
||||
switch (Count % 4) {
|
||||
default: break; // No leftover bytes to write
|
||||
case 1: OW->Write8(0); break;
|
||||
case 2: OW->Write16(0); break;
|
||||
case 3: OW->Write16(0); OW->Write8(0); break;
|
||||
}
|
||||
OW->WriteZeros(Count % 4);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user