forked from OSchip/llvm-project
ARMInstPrinter.cpp: Suppress a warning for -Asserts. [-Wunused-variable]
llvm-svn: 219172
This commit is contained in:
parent
3848e903e4
commit
c62436c60a
|
@ -544,9 +544,8 @@ void ARMInstPrinter::printAddrMode3Operand(const MCInst *MI, unsigned Op,
|
|||
return;
|
||||
}
|
||||
|
||||
const MCOperand &MO3 = MI->getOperand(Op+2);
|
||||
|
||||
assert(ARM_AM::getAM3IdxMode(MO3.getImm()) != ARMII::IndexModePost &&
|
||||
assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) !=
|
||||
ARMII::IndexModePost &&
|
||||
"unexpected idxmode");
|
||||
printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue