mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
fix edit-o
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73824 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -380,7 +380,8 @@ void X86ATTAsmPrinter::printLeaMemReference(const MCInst *MI, unsigned Op) {
|
|||||||
if (IndexReg.getReg()) {
|
if (IndexReg.getReg()) {
|
||||||
O << ',';
|
O << ',';
|
||||||
printOperand(MI, Op+2);
|
printOperand(MI, Op+2);
|
||||||
if (MI->getOperand(Op+1).getImm() != 1)
|
unsigned ScaleVal = MI->getOperand(Op+1).getImm();
|
||||||
|
if (ScaleVal != 1)
|
||||||
O << ',' << ScaleVal;
|
O << ',' << ScaleVal;
|
||||||
}
|
}
|
||||||
O << ')';
|
O << ')';
|
||||||
|
Reference in New Issue
Block a user