summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-10-01 04:17:59 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-10-01 04:17:59 +0000
commit29baf9c0e1ebf2df20d4525abbb4064373665cd8 (patch)
tree68e23e9014c107c5ad73f776644dbaaa2821a7ff /llvm/lib/CodeGen/MachineFunction.cpp
parentf20abe53f4b217ea6e6c6e36a042deeca7f09827 (diff)
downloadbcm5719-llvm-29baf9c0e1ebf2df20d4525abbb4064373665cd8.tar.gz
bcm5719-llvm-29baf9c0e1ebf2df20d4525abbb4064373665cd8.zip
Use StringRef in Datalayout API (NFC)
llvm-svn: 283009
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineFunction.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp
index dd306b8af78..7190fbd5642 100644
--- a/llvm/lib/CodeGen/MachineFunction.cpp
+++ b/llvm/lib/CodeGen/MachineFunction.cpp
@@ -544,7 +544,7 @@ MCSymbol *MachineFunction::getJTISymbol(unsigned JTI, MCContext &Ctx,
assert(JumpTableInfo && "No jump tables");
assert(JTI < JumpTableInfo->getJumpTables().size() && "Invalid JTI!");
- const char *Prefix = isLinkerPrivate ? DL.getLinkerPrivateGlobalPrefix()
+ StringRef Prefix = isLinkerPrivate ? DL.getLinkerPrivateGlobalPrefix()
: DL.getPrivateGlobalPrefix();
SmallString<60> Name;
raw_svector_ostream(Name)
OpenPOWER on IntegriCloud