Print three closing parentheses when Kind is either VK_Mips_GPOFF_HI or

VK_Mips_GPOFF_LO.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140316 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka 2011-09-22 17:44:37 +00:00
parent d27fda49c4
commit 26bcc701a2

View File

@ -48,8 +48,8 @@ void MipsMCSymbolRefExpr::PrintImpl(raw_ostream &OS) const {
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