Use StringRef in FastISel API (NFC)

llvm-svn: 283291
This commit is contained in:
Mehdi Amini 2016-10-05 01:37:29 +00:00
parent ec4fb5ba97
commit 3e021be3b6
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ public:
CallLoweringInfo &setCallee(const DataLayout &DL, MCContext &Ctx,
CallingConv::ID CC, Type *ResultTy,
const char *Target, ArgListTy &&ArgsList,
StringRef Target, ArgListTy &&ArgsList,
unsigned FixedArgs = ~0U);
CallLoweringInfo &setCallee(CallingConv::ID CC, Type *ResultTy,

View File

@ -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);