mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-09-30 19:55:11 +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);
|
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);
|
printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user