mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
driver: Make -remove-runtime-asserts a driver option, which is passed to the frontend
rdar://problem/35602951
This commit is contained in:
@@ -1287,7 +1287,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
}
|
||||
|
||||
// -Ounchecked might also set removal of runtime asserts (cond_fail).
|
||||
Opts.RemoveRuntimeAsserts |= Args.hasArg(OPT_remove_runtime_asserts);
|
||||
Opts.RemoveRuntimeAsserts |= Args.hasArg(OPT_RemoveRuntimeAsserts);
|
||||
|
||||
Opts.EnableARCOptimizations |= !Args.hasArg(OPT_disable_arc_opts);
|
||||
Opts.DisableSILPerfOptimizations |= Args.hasArg(OPT_disable_sil_perf_optzns);
|
||||
|
||||
Reference in New Issue
Block a user