Always write out nested types tables

Remove the option to switch off nested types tables. In a world where
re-entrant direct lookup will cause deserialization to fail (or worse),
disabling these tables will only lead to further instability in the
compiler.
This commit is contained in:
Robert Widmann
2020-02-10 10:17:21 -08:00
parent ec92253411
commit 53b368b34f
10 changed files with 4 additions and 35 deletions

View File

@@ -347,8 +347,6 @@ bool ModuleInterfaceBuilder::buildSwiftModuleInternal(
// optimization pipeline.
SerializationOptions SerializationOpts;
std::string OutPathStr = OutPath;
SerializationOpts.EnableNestedTypeLookupTable
= FEOpts.EnableSerializationNestedTypeLookupTable;
SerializationOpts.OutputPath = OutPathStr.c_str();
SerializationOpts.ModuleLinkName = FEOpts.ModuleLinkName;
SerializationOpts.AutolinkForceLoad =