summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZMCInstLower.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-29 17:07:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-29 17:07:16 +0000
commitffc7dca885151ed42642c2d6733e8db75d276621 (patch)
treedd83fecaede97dda4a24d8346eeea8fe2d04fc19 /lib/Target/SystemZ/SystemZMCInstLower.cpp
parenta72ec5517f95616ac133d266b29f1840ce922492 (diff)
downloadllvm-ffc7dca885151ed42642c2d6733e8db75d276621.tar.gz
llvm-ffc7dca885151ed42642c2d6733e8db75d276621.tar.bz2
llvm-ffc7dca885151ed42642c2d6733e8db75d276621.tar.xz
Add a helper getSymbol to AsmPrinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193627 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZMCInstLower.cpp')
-rw-r--r--lib/Target/SystemZ/SystemZMCInstLower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/SystemZ/SystemZMCInstLower.cpp b/lib/Target/SystemZ/SystemZMCInstLower.cpp
index 0f46ad2903..ff9a6c0a22 100644
--- a/lib/Target/SystemZ/SystemZMCInstLower.cpp
+++ b/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: