mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
Fix printing of MCSymbolRegExpr. Needs three closing parentheses for
VK_Mips_GPOFF_HI/LO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144366 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
15f58c56e9
commit
d5cf5a631f
@ -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