[llvm-commits] [llvm] r140316 - /llvm/trunk/lib/Target/Mips/MipsMCSymbolRefExpr.cpp
Akira Hatanaka
ahatanak at gmail.com
Thu Sep 22 10:44:37 PDT 2011
Author: ahatanak
Date: Thu Sep 22 12:44:37 2011
New Revision: 140316
URL: http://llvm.org/viewvc/llvm-project?rev=140316&view=rev
Log:
Print three closing parentheses when Kind is either VK_Mips_GPOFF_HI or
VK_Mips_GPOFF_LO.
Modified:
llvm/trunk/lib/Target/Mips/MipsMCSymbolRefExpr.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsMCSymbolRefExpr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsMCSymbolRefExpr.cpp?rev=140316&r1=140315&r2=140316&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsMCSymbolRefExpr.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsMCSymbolRefExpr.cpp Thu Sep 22 12:44:37 2011
@@ -48,8 +48,8 @@
OS << Offset;
}
- if (Kind != VK_Mips_None)
- OS << ')';
+ if (Kind == VK_Mips_GPOFF_HI || Kind == VK_Mips_GPOFF_LO) OS << ")))";
+ else if (Kind != VK_Mips_None) OS << ')';
}
bool
More information about the llvm-commits
mailing list