summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit79858aa3df62a0ebf12a766c315ba3dbccd47268 (patch)
treed6a893f9d02f4af02fb5fe2c779c8ce5f17e94fc /llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp
parentacf48d75e5920b3b9e8fc532c17e9725fcd2fd04 (diff)
downloadbcm5719-llvm-79858aa3df62a0ebf12a766c315ba3dbccd47268.tar.gz
bcm5719-llvm-79858aa3df62a0ebf12a766c315ba3dbccd47268.zip
Add a helper getSymbol to AsmPrinter.
llvm-svn: 193627
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZMCInstLower.cpp2
1 files changed, 1 insertions, 1 deletions
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:
OpenPOWER on IntegriCloud