mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Fix incorrect computation of Opts.MergeableTraps
This commit is contained in:
@@ -3782,10 +3782,7 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
return true;
|
||||
}
|
||||
|
||||
Opts.MergeableTraps = Opts.shouldOptimize();
|
||||
if (Args.hasArg(OPT_mergeable_traps)) {
|
||||
Opts.MergeableTraps = true;
|
||||
}
|
||||
Opts.MergeableTraps = Args.hasArg(OPT_mergeable_traps);
|
||||
|
||||
Opts.EnableObjectiveCProtocolSymbolicReferences =
|
||||
Args.hasFlag(OPT_enable_objective_c_protocol_symbolic_references,
|
||||
|
||||
Reference in New Issue
Block a user