mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove the tables that track the types that conform to "known" protocols.
The type checker no longer needs them. Swift SVN r22137
This commit is contained in:
@@ -327,16 +327,6 @@ void SerializedModuleLoader::loadExtensions(NominalTypeDecl *nominal,
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
SerializedModuleLoader::loadDeclsConformingTo(KnownProtocolKind kind,
|
||||
unsigned previousGeneration) {
|
||||
for (auto &modulePair : LoadedModuleFiles) {
|
||||
if (modulePair.second <= previousGeneration)
|
||||
continue;
|
||||
modulePair.first->loadDeclsConformingTo(kind);
|
||||
}
|
||||
}
|
||||
|
||||
bool SerializedModuleLoader::isSerializedAST(StringRef data) {
|
||||
using serialization::MODULE_SIGNATURE;
|
||||
StringRef signatureStr(reinterpret_cast<const char *>(MODULE_SIGNATURE),
|
||||
|
||||
Reference in New Issue
Block a user