forked from OSchip/llvm-project
Hexagon: Avoid unused variable warnings in Release builds.
llvm-svn: 185445
This commit is contained in:
parent
00deddb6d8
commit
755bf4f692
|
@ -196,13 +196,9 @@ void HexagonInstPrinter::printPredicateOperand(const MCInst *MI, unsigned OpNo,
|
|||
|
||||
void HexagonInstPrinter::printSymbol(const MCInst *MI, unsigned OpNo,
|
||||
raw_ostream &O, bool hi) const {
|
||||
const MCOperand& MO = MI->getOperand(OpNo);
|
||||
assert(MI->getOperand(OpNo).isImm() && "Unknown symbol operand");
|
||||
|
||||
O << '#' << (hi? "HI": "LO") << '(';
|
||||
|
||||
assert(MO.isImm() && "Unknown symbol operand");
|
||||
|
||||
O << '#';
|
||||
O << '#' << (hi ? "HI" : "LO") << "(#";
|
||||
printOperand(MI, OpNo, O);
|
||||
O << ')';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue