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:
Evan Cheng 2005-11-30 01:59:00 +00:00
parent 7ac8e6b6a8
commit 345c3f370d

View File

@ -117,7 +117,7 @@ void X86IntelAsmPrinter::printOp(const MachineOperand &MO,
if (Offset > 0)
O << " + " << Offset;
else if (Offset < 0)
O << " - " << -Offset;
O << Offset;
return;
}
case MachineOperand::MO_ExternalSymbol: