mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
SIL Linker: Use SILModule::loadFunction()
This means SILLinkerVisitor no longer depends on the SILLoader; the latter is now just an implementation detail of SILModule.
This commit is contained in:
@@ -495,7 +495,7 @@ bool SILModule::loadFunction(SILFunction *F) {
|
||||
}
|
||||
|
||||
bool SILModule::linkFunction(SILFunction *F, SILModule::LinkingMode Mode) {
|
||||
return SILLinkerVisitor(*this, getSILLoader(), Mode).processFunction(F);
|
||||
return SILLinkerVisitor(*this, Mode).processFunction(F);
|
||||
}
|
||||
|
||||
SILFunction *SILModule::findFunction(StringRef Name, SILLinkage Linkage) {
|
||||
|
||||
Reference in New Issue
Block a user