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:
@@ -117,7 +117,8 @@ SILFunction *SILLinkerVisitor::lookupFunction(StringRef Name,
|
||||
}
|
||||
|
||||
/// Process Decl, recursively deserializing any thing Decl may reference.
|
||||
bool SILLinkerVisitor::hasFunction(StringRef Name, SILLinkage Linkage) {
|
||||
bool SILLinkerVisitor::hasFunction(StringRef Name,
|
||||
Optional<SILLinkage> Linkage) {
|
||||
return Loader->hasSILFunction(Name, Linkage);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user