mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-23 17:29:19 +00:00
Fix typo.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186852 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa73995188
commit
f01742d03f
@ -29,7 +29,7 @@ static inline void encodeSLEB128(int64_t Value, raw_ostream &OS) {
|
||||
More = !((((Value == 0 ) && ((Byte & 0x40) == 0)) ||
|
||||
((Value == -1) && ((Byte & 0x40) != 0))));
|
||||
if (More)
|
||||
Byte |= 0x80; // Mark this byte that that more bytes will follow.
|
||||
Byte |= 0x80; // Mark this byte to show that more bytes will follow.
|
||||
OS << char(Byte);
|
||||
} while (More);
|
||||
}
|
||||
@ -41,7 +41,7 @@ static inline void encodeULEB128(uint64_t Value, raw_ostream &OS,
|
||||
uint8_t Byte = Value & 0x7f;
|
||||
Value >>= 7;
|
||||
if (Value != 0 || Padding != 0)
|
||||
Byte |= 0x80; // Mark this byte that that more bytes will follow.
|
||||
Byte |= 0x80; // Mark this byte to show that more bytes will follow.
|
||||
OS << char(Byte);
|
||||
} while (Value != 0);
|
||||
|
||||
@ -62,7 +62,7 @@ static inline unsigned encodeULEB128(uint64_t Value, uint8_t *p,
|
||||
uint8_t Byte = Value & 0x7f;
|
||||
Value >>= 7;
|
||||
if (Value != 0 || Padding != 0)
|
||||
Byte |= 0x80; // Mark this byte that that more bytes will follow.
|
||||
Byte |= 0x80; // Mark this byte to show that more bytes will follow.
|
||||
*p++ = Byte;
|
||||
} while (Value != 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user