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:
Doug Gregor
2014-09-19 16:41:26 +00:00
parent f0d03efb4c
commit 3119e6d345
10 changed files with 6 additions and 250 deletions

View File

@@ -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),