From 79858aa3df62a0ebf12a766c315ba3dbccd47268 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Tue, 29 Oct 2013 17:07:16 +0000 Subject: Add a helper getSymbol to AsmPrinter. llvm-svn: 193627 --- llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp') diff --git a/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp b/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp index 0f46ad29036..ff9a6c0a221 100644 --- a/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp +++ b/llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp @@ -42,7 +42,7 @@ SystemZMCInstLower::getExpr(const MachineOperand &MO, break; case MachineOperand::MO_GlobalAddress: - Symbol = AsmPrinter.Mang->getSymbol(MO.getGlobal()); + Symbol = AsmPrinter.getSymbol(MO.getGlobal()); break; case MachineOperand::MO_ExternalSymbol: -- cgit v1.2.3