mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Avoid unnecessary linking in SIL tools
Previously we were linking in all SIL entities if the input was a serialized non-SIB AST, and `-disable-sil-linking` wasn't specified. However none of the tests appear to want this behaviour. Stop calling `SerializedSILLoader::getAll`, and remove the `-disable-sil-linking` option, as this is now the default behaviour.
This commit is contained in:
@@ -156,11 +156,6 @@ bool SerializedSILLoader::invalidateFunction(SILFunction *F) {
|
||||
return false;
|
||||
}
|
||||
|
||||
void SerializedSILLoader::getAll() {
|
||||
for (auto &Des : LoadedSILSections)
|
||||
Des->getAll();
|
||||
}
|
||||
|
||||
// FIXME: Not the best interface. We know exactly which FileUnits may have SIL
|
||||
// those in the main module.
|
||||
void SerializedSILLoader::getAllForModule(Identifier Mod,
|
||||
|
||||
Reference in New Issue
Block a user