mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-05 10:57:32 +00:00
Fix printing of MCSymbolRegExpr. Needs three closing parentheses for
VK_Mips_GPOFF_HI/LO. llvm-svn: 144366
This commit is contained in:
parent
285b451941
commit
e56d824b2e
@ -118,7 +118,10 @@ static void printExpr(const MCExpr *Expr, raw_ostream &OS) {
|
||||
OS << Offset;
|
||||
}
|
||||
|
||||
if (Kind != MCSymbolRefExpr::VK_None)
|
||||
if ((Kind == MCSymbolRefExpr::VK_Mips_GPOFF_HI) ||
|
||||
(Kind == MCSymbolRefExpr::VK_Mips_GPOFF_LO))
|
||||
OS << ")))";
|
||||
else if (Kind != MCSymbolRefExpr::VK_None)
|
||||
OS << ')';
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user