mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-17 21:35:07 +00:00
ARMInstPrinter.cpp: Suppress a warning for -Asserts. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e6fb7265d7
commit
844eeb3741
@ -544,9 +544,8 @@ void ARMInstPrinter::printAddrMode3Operand(const MCInst *MI, unsigned Op,
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const MCOperand &MO3 = MI->getOperand(Op+2);
|
assert(ARM_AM::getAM3IdxMode(MI->getOperand(Op + 2).getImm()) !=
|
||||||
|
ARMII::IndexModePost &&
|
||||||
assert(ARM_AM::getAM3IdxMode(MO3.getImm()) != ARMII::IndexModePost &&
|
|
||||||
"unexpected idxmode");
|
"unexpected idxmode");
|
||||||
printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0);
|
printAM3PreOrOffsetIndexOp(MI, Op, O, AlwaysPrintImm0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user