mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-03 02:17:41 +00:00
Fix -Wunused-variable in non-Asserts build
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270118 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dadbde9f38
commit
80f6f5594a
@ -202,10 +202,9 @@ void HexagonInstPrinter::printPredicateOperand(MCInst const *MI, unsigned OpNo,
|
||||
|
||||
void HexagonInstPrinter::printSymbol(MCInst const *MI, unsigned OpNo,
|
||||
raw_ostream &O, bool hi) const {
|
||||
MCOperand const &MO = MI->getOperand(OpNo);
|
||||
assert(MI->getOperand(OpNo).isImm() && "Unknown symbol operand");
|
||||
|
||||
O << '#' << (hi ? "HI" : "LO") << '(';
|
||||
assert(MO.isImm() && "Unknown symbol operand");
|
||||
O << '#';
|
||||
printOperand(MI, OpNo, O);
|
||||
O << ')';
|
||||
|
Loading…
x
Reference in New Issue
Block a user