mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
NFC: throws prediction frontend flag
This commit is contained in:
@@ -2597,6 +2597,9 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
OPT_enable_sil_opaque_values, OPT_disable_sil_opaque_values, false);
|
||||
Opts.EnableSpeculativeDevirtualization |= Args.hasArg(OPT_enable_spec_devirt);
|
||||
Opts.EnableAsyncDemotion |= Args.hasArg(OPT_enable_async_demotion);
|
||||
Opts.EnableThrowsPrediction = Args.hasFlag(
|
||||
OPT_enable_throws_prediction, OPT_disable_throws_prediction,
|
||||
Opts.EnableThrowsPrediction);
|
||||
Opts.EnableActorDataRaceChecks |= Args.hasFlag(
|
||||
OPT_enable_actor_data_race_checks,
|
||||
OPT_disable_actor_data_race_checks, /*default=*/false);
|
||||
|
||||
Reference in New Issue
Block a user