mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Remove the -enable-ossa-modules option.
OSSA modules are enabled by default. The compiler still accepts this option but it has no effect.
This commit is contained in:
@@ -391,7 +391,7 @@ static bool buildModuleFromInterface(CompilerInstance &Instance) {
|
||||
Invocation.getOutputFilename(), ABIPath, FEOpts.CacheReplayPrefixMap,
|
||||
FEOpts.SerializeModuleInterfaceDependencyHashes,
|
||||
FEOpts.shouldTrackSystemDependencies(), LoaderOpts,
|
||||
RequireOSSAModules_t(Invocation.getSILOptions()), IgnoreAdjacentModules);
|
||||
IgnoreAdjacentModules);
|
||||
}
|
||||
|
||||
static bool compileLLVMIR(CompilerInstance &Instance) {
|
||||
@@ -1754,7 +1754,7 @@ static bool serializeSIB(SILModule *SM, const PrimarySpecificPaths &PSPs,
|
||||
serializationOpts.OutputPath = moduleOutputPath;
|
||||
serializationOpts.SerializeAllSIL = true;
|
||||
serializationOpts.IsSIB = true;
|
||||
serializationOpts.IsOSSA = Context.SILOpts.EnableOSSAModules;
|
||||
serializationOpts.IsOSSA = true;
|
||||
|
||||
symbolgraphgen::SymbolGraphOptions symbolGraphOptions;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user