mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 06:56:12 +00:00
ARM: silence unused variable warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219128 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
969587d62d
commit
ca6c95df36
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user