mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Distribute Module's lookup cache to its subclasses.
Each one has a different kind of lookup cache anyway, and there's no real reason to have them share storage at the cost of type-safety. Swift SVN r9242
This commit is contained in:
@@ -119,7 +119,7 @@ Module *SerializedModuleLoader::loadModule(SourceLoc importLoc,
|
||||
}
|
||||
|
||||
assert(inputFile);
|
||||
std::string DebugModuleName = inputFile->getBufferIdentifier();
|
||||
StringRef DebugModuleName = inputFile->getBufferIdentifier();
|
||||
|
||||
std::unique_ptr<ModuleFile> loadedModuleFile;
|
||||
ModuleStatus err = ModuleFile::load(std::move(inputFile), loadedModuleFile);
|
||||
|
||||
Reference in New Issue
Block a user