mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Remove MergePartialModules from SILOptions
Its use in deserialization can be replaced with a more general check for whether we're deserializing into the same module. Its use in the SILVerifier is subsumed by the check for whether the SILModule is canonical, which it isn't during merge-modules.
This commit is contained in:
@@ -1049,9 +1049,6 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
if (FEOpts.RequestedAction == FrontendOptions::ActionType::EmitModuleOnly)
|
||||
Opts.StopOptimizationAfterSerialization = true;
|
||||
|
||||
if (Args.hasArg(OPT_sil_merge_partial_modules))
|
||||
Opts.MergePartialModules = true;
|
||||
|
||||
// Propagate the typechecker's understanding of
|
||||
// -experimental-skip-non-inlinable-function-bodies to SIL.
|
||||
Opts.SkipNonInlinableFunctionBodies = TCOpts.SkipNonInlinableFunctionBodies;
|
||||
|
||||
Reference in New Issue
Block a user