diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 05:12:48 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 05:12:48 +0000 |
commit | 217b2464849f038a583b31252664161798a95003 (patch) | |
tree | 30bc943cbd010b3aff2f3f5a929e7522ed0249ca /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 56f0497bb869338dc1e4868b634f98be83ace483 (diff) | |
download | bcm5719-llvm-217b2464849f038a583b31252664161798a95003.tar.gz bcm5719-llvm-217b2464849f038a583b31252664161798a95003.zip |
Revert "Use StringRef in Datalayout API (NFC)"
This reverts commit r283009. Bots are broken.
llvm-svn: 283011
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineFunction.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineFunction.cpp b/llvm/lib/CodeGen/MachineFunction.cpp index 7190fbd5642..dd306b8af78 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!"); - StringRef Prefix = isLinkerPrivate ? DL.getLinkerPrivateGlobalPrefix() + const char *Prefix = isLinkerPrivate ? DL.getLinkerPrivateGlobalPrefix() : DL.getPrivateGlobalPrefix(); SmallString<60> Name; raw_svector_ostream(Name) |