summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMMCInstLower.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/ARM/ARMMCInstLower.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/ARM/ARMMCInstLower.cpp')
-rw-r--r--llvm/lib/Target/ARM/ARMMCInstLower.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMMCInstLower.cpp b/llvm/lib/Target/ARM/ARMMCInstLower.cpp
index b6414832003..e12c9c61ab1 100644
--- a/llvm/lib/Target/ARM/ARMMCInstLower.cpp
+++ b/llvm/lib/Target/ARM/ARMMCInstLower.cpp
@@ -82,7 +82,7 @@ bool ARMAsmPrinter::lowerOperand(const MachineOperand &MO,
MO.getMBB()->getSymbol(), OutContext));
break;
case MachineOperand::MO_GlobalAddress:
- MCOp = GetSymbolRef(MO, Mang->getSymbol(MO.getGlobal()));
+ MCOp = GetSymbolRef(MO, getSymbol(MO.getGlobal()));
break;
case MachineOperand::MO_ExternalSymbol:
MCOp = GetSymbolRef(MO,
OpenPOWER on IntegriCloud