mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove dead code in SIL linker
... which is not only dead but also broken. NFC
This commit is contained in:
@@ -486,10 +486,6 @@ bool SILModule::linkFunction(SILFunction *Fun, SILModule::LinkingMode Mode) {
|
||||
return SILLinkerVisitor(*this, getSILLoader(), Mode).processFunction(Fun);
|
||||
}
|
||||
|
||||
bool SILModule::linkFunction(SILDeclRef Decl, SILModule::LinkingMode Mode) {
|
||||
return SILLinkerVisitor(*this, getSILLoader(), Mode).processDeclRef(Decl);
|
||||
}
|
||||
|
||||
bool SILModule::linkFunction(StringRef Name, SILModule::LinkingMode Mode) {
|
||||
return SILLinkerVisitor(*this, getSILLoader(), Mode).processFunction(Name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user