mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-28 04:33:05 +00:00
Fix opt -Werror build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121904 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a63cde26ff
commit
e194b26ffd
@ -49,6 +49,7 @@ void MCStreamer::EmitIntValue(uint64_t Value, unsigned Size,
|
||||
unsigned AddrSpace) {
|
||||
assert(Size <= 8 && "Invalid size");
|
||||
unsigned Bits = 8 * Size;
|
||||
(void)Bits;
|
||||
assert((isUIntN(Bits, Value) || isIntN(Bits, Value)) && "Invalid size");
|
||||
char buf[8];
|
||||
// FIXME: Endianness assumption.
|
||||
|
Loading…
Reference in New Issue
Block a user