Skip to content

Commit ff30333

Browse files
authored
Merge pull request swiftlang#24024 from gottesmm/pr-039e4a5169b9b33302b2514ba21e0da28b1175ea
[sil] Fix thinko in a frontend option.
2 parents 072e84a + 83bce03 commit ff30333

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/CompilerInvocation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
772772
Args.hasArg(OPT_disable_sil_partial_apply);
773773
Opts.VerifySILOwnership &= !Args.hasArg(OPT_disable_sil_ownership_verifier);
774774
Opts.EnableLargeLoadableTypes |= Args.hasArg(OPT_enable_large_loadable_types);
775-
Opts.StopOptimizationAfterSerialization |= Args.hasArg(OPT_enable_ownership_stripping_after_serialization);
775+
Opts.StripOwnershipAfterSerialization |= Args.hasArg(OPT_enable_ownership_stripping_after_serialization);
776776

777777
if (const Arg *A = Args.getLastArg(OPT_save_optimization_record_path))
778778
Opts.OptRecordFile = A->getValue();

0 commit comments

Comments
 (0)