forked from OSchip/llvm-project
Use StringRef in ARCRuntimeEntryPoints APIs (NFC)
llvm-svn: 283288
This commit is contained in:
parent
f5fe75a6e0
commit
a6f81ca8ea
|
@ -121,8 +121,7 @@ private:
|
|||
/// Declaration for objc_retainAutoreleaseReturnValue().
|
||||
Constant *RetainAutoreleaseRV;
|
||||
|
||||
Constant *getVoidRetI8XEntryPoint(Constant *&Decl,
|
||||
const char *Name) {
|
||||
Constant *getVoidRetI8XEntryPoint(Constant *&Decl, StringRef Name) {
|
||||
if (Decl)
|
||||
return Decl;
|
||||
|
||||
|
@ -136,8 +135,7 @@ private:
|
|||
return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
|
||||
}
|
||||
|
||||
Constant *getI8XRetI8XEntryPoint(Constant *& Decl,
|
||||
const char *Name,
|
||||
Constant *getI8XRetI8XEntryPoint(Constant *&Decl, StringRef Name,
|
||||
bool NoUnwind = false) {
|
||||
if (Decl)
|
||||
return Decl;
|
||||
|
@ -155,8 +153,7 @@ private:
|
|||
return Decl = TheModule->getOrInsertFunction(Name, Fty, Attr);
|
||||
}
|
||||
|
||||
Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl,
|
||||
const char *Name) {
|
||||
Constant *getI8XRetI8XXI8XEntryPoint(Constant *&Decl, StringRef Name) {
|
||||
if (Decl)
|
||||
return Decl;
|
||||
|
||||
|
|
Loading…
Reference in New Issue