mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
Fixed a minor bug: - -offset != offset iff offset == MININT
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24522 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7ac8e6b6a8
commit
345c3f370d
@ -117,7 +117,7 @@ void X86IntelAsmPrinter::printOp(const MachineOperand &MO,
|
|||||||
if (Offset > 0)
|
if (Offset > 0)
|
||||||
O << " + " << Offset;
|
O << " + " << Offset;
|
||||||
else if (Offset < 0)
|
else if (Offset < 0)
|
||||||
O << " - " << -Offset;
|
O << Offset;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
case MachineOperand::MO_ExternalSymbol:
|
case MachineOperand::MO_ExternalSymbol:
|
||||||
|
Loading…
Reference in New Issue
Block a user