ARMInstPrinter.cpp: Suppress a warning for -Asserts. [-Wunused-variable]

llvm-svn: 219172
This commit is contained in:
NAKAMURA Takumi 2014-10-06 23:48:04 +00:00
parent 3848e903e4
commit c62436c60a
1 changed files with 2 additions and 3 deletions

View File

@ -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);
}