mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fixes for a lookup of functions by name
Among other things it fixes a bug in the function signature optimization where it would use an already existing mangled name for a different function
This commit is contained in:
@@ -92,8 +92,8 @@ public:
|
||||
SILFunction *lookupSILFunction(SILFunction *Callee);
|
||||
SILFunction *
|
||||
lookupSILFunction(StringRef Name, bool declarationOnly = false,
|
||||
SILLinkage linkage = SILLinkage::Private);
|
||||
bool hasSILFunction(StringRef Name, SILLinkage linkage = SILLinkage::Private);
|
||||
Optional<SILLinkage> linkage = None);
|
||||
bool hasSILFunction(StringRef Name, Optional<SILLinkage> linkage = None);
|
||||
SILVTable *lookupVTable(Identifier Name);
|
||||
SILVTable *lookupVTable(const ClassDecl *C) {
|
||||
return lookupVTable(C->getName());
|
||||
|
||||
Reference in New Issue
Block a user