parent
8dd79a4c14
commit
6d464146d0
|
@ -252,7 +252,9 @@ void X86ATTAsmPrinter::printMemReference(const MachineInstr *MI, unsigned Op){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (DispSpec.isGlobalAddress() || DispSpec.isConstantPoolIndex()) {
|
if (DispSpec.isGlobalAddress() ||
|
||||||
|
DispSpec.isConstantPoolIndex() ||
|
||||||
|
DispSpec.isJumpTableIndex()) {
|
||||||
printOperand(MI, Op+3, "mem");
|
printOperand(MI, Op+3, "mem");
|
||||||
} else {
|
} else {
|
||||||
int DispVal = DispSpec.getImmedValue();
|
int DispVal = DispSpec.getImmedValue();
|
||||||
|
|
|
@ -90,7 +90,8 @@ struct X86SharedAsmPrinter : public AsmPrinter {
|
||||||
MI->getOperand(Op+2).isRegister() &&
|
MI->getOperand(Op+2).isRegister() &&
|
||||||
(MI->getOperand(Op+3).isImmediate() ||
|
(MI->getOperand(Op+3).isImmediate() ||
|
||||||
MI->getOperand(Op+3).isGlobalAddress() ||
|
MI->getOperand(Op+3).isGlobalAddress() ||
|
||||||
MI->getOperand(Op+3).isConstantPoolIndex());
|
MI->getOperand(Op+3).isConstantPoolIndex() ||
|
||||||
|
MI->getOperand(Op+3).isJumpTableIndex());
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue