diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-05 01:37:29 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-05 01:37:29 +0000 |
| commit | 3e021be3b6e1ab6d7eccb9e75a22df667e6654fe (patch) | |
| tree | 8ac1d3d1932a319ba27b6e6b2183118a819ad4eb /llvm/lib/CodeGen/SelectionDAG | |
| parent | ec4fb5ba9736c1910b8a1631c46d653172e5a4df (diff) | |
| download | bcm5719-llvm-3e021be3b6e1ab6d7eccb9e75a22df667e6654fe.tar.gz bcm5719-llvm-3e021be3b6e1ab6d7eccb9e75a22df667e6654fe.zip | |
Use StringRef in FastISel API (NFC)
llvm-svn: 283291
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 5d02fc32b05..95b4ff7a46e 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -707,7 +707,7 @@ bool FastISel::lowerCallOperands(const CallInst *CI, unsigned ArgIdx, FastISel::CallLoweringInfo &FastISel::CallLoweringInfo::setCallee( const DataLayout &DL, MCContext &Ctx, CallingConv::ID CC, Type *ResultTy, - const char *Target, ArgListTy &&ArgsList, unsigned FixedArgs) { + StringRef Target, ArgListTy &&ArgsList, unsigned FixedArgs) { SmallString<32> MangledName; Mangler::getNameWithPrefix(MangledName, Target, DL); MCSymbol *Sym = Ctx.getOrCreateSymbol(MangledName); |

