diff options
| author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-02-22 09:58:29 +0000 |
|---|---|---|
| committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-02-22 09:58:29 +0000 |
| commit | 3d61760bd6b206d46f7f168602b1cb9e45156c7a (patch) | |
| tree | 3419888efe4feafe446c1194950e5952f5241e24 /llvm/lib | |
| parent | f7d08f6dcc7e784f6325019b292d29e74ee65cf9 (diff) | |
| download | bcm5719-llvm-3d61760bd6b206d46f7f168602b1cb9e45156c7a.tar.gz bcm5719-llvm-3d61760bd6b206d46f7f168602b1cb9e45156c7a.zip | |
Fix a warning on HexagonMCCodeEmitter::MCII. [-Wunused-private-field]
llvm-svn: 230170
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp index 153d9d83f15..a5a09ba1d63 100644 --- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp +++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp @@ -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; } |

