mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add an option to enable a copy-on-write existential implementation
This commit is contained in:
@@ -1237,6 +1237,10 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
|
||||
IRGenOpts.Sanitize = Opts.Sanitize;
|
||||
}
|
||||
|
||||
/// Should we use the copy-on-write implementation of opaque existentials.
|
||||
/// FIXME: Use during bootstraping this feature. Remove later.
|
||||
Opts.UseCOWExistentials = Args.hasArg(OPT_enable_cow_existentials);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user