mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-23 20:29:30 +00:00
Fix a warning on HexagonMCCodeEmitter::MCII. [-Wunused-private-field]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230170 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2aabd71b8a
commit
d40ce7ac2b
@ -59,6 +59,7 @@ void HexagonMCCodeEmitter::EncodeInstruction(MCInst const &MI, raw_ostream &OS,
|
||||
uint64_t Binary = getBinaryCodeForInstr(MI, Fixups, STI) | getPacketBits(MI);
|
||||
assert(HexagonMCInstrInfo::getDesc(MCII, MI).getSize() == 4 &&
|
||||
"All instructions should be 32bit");
|
||||
(void)&MCII;
|
||||
emitLittleEndian(Binary, OS);
|
||||
++MCNumEmitted;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user