1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00

Print three closing parentheses when Kind is either VK_Mips_GPOFF_HI or

VK_Mips_GPOFF_LO.

llvm-svn: 140316
This commit is contained in:
Akira Hatanaka 2011-09-22 17:44:37 +00:00
parent 96122b7f72
commit 329b07db41

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