mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-01 03:33:42 +00:00
Tidy up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117782 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
16c3b647eb
commit
4aaf59d8ed
@ -260,7 +260,7 @@ public:
|
||||
// the difference?
|
||||
if (Mem.Offset) {
|
||||
const MCConstantExpr *CE = dyn_cast<MCConstantExpr>(Mem.Offset);
|
||||
assert (CE && "non-constant mode 5 offset operand!");
|
||||
assert(CE && "non-constant mode 5 offset operand!");
|
||||
// The MCInst offset operand doesn't include the low two bits (like
|
||||
// the instruction encoding).
|
||||
Inst.addOperand(MCOperand::CreateImm(CE->getValue() / 4));
|
||||
|
Loading…
x
Reference in New Issue
Block a user