ARM: silence unused variable warning

llvm-svn: 219128
This commit is contained in:
Tim Northover 2014-10-06 17:26:36 +00:00
parent 8997fedfc6
commit ea964f53c3
1 changed files with 2 additions and 2 deletions

View File

@ -545,9 +545,9 @@ void ARMInstPrinter::printAddrMode3Operand(const MCInst *MI, unsigned Op,
}
const MCOperand &MO3 = MI->getOperand(Op+2);
unsigned IdxMode = ARM_AM::getAM3IdxMode(MO3.getImm());
assert(IdxMode != ARMII::IndexModePost && "unexpected idxmode");
assert(ARM_AM::getAM3IdxMode(MO3.getImm()) != ARMII::IndexModePost &&
"unexpected idxmode");
printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0);
}