From: Evan Cheng Date: Wed, 30 Nov 2005 01:59:00 +0000 (+0000) Subject: Fixed a minor bug: - -offset != offset iff offset == MININT X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=345c3f370d56477fd2ab3f742f36e6d8fd4f82fa;p=oota-llvm.git 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 --- diff --git a/lib/Target/X86/X86IntelAsmPrinter.cpp b/lib/Target/X86/X86IntelAsmPrinter.cpp index e54328bb25d..b51ef58f048 100755 --- a/lib/Target/X86/X86IntelAsmPrinter.cpp +++ b/lib/Target/X86/X86IntelAsmPrinter.cpp @@ -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: