mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Add code to implement value witnesses based on type layouts
This can be enabled via a flag: -enable-type-layout. rdar://51988441
This commit is contained in:
@@ -1259,6 +1259,8 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
|
||||
Opts.EnableDynamicReplacementChaining |=
|
||||
Args.hasArg(OPT_enable_dynamic_replacement_chaining);
|
||||
|
||||
Opts.UseTypeLayoutValueHandling |= Args.hasArg(OPT_enable_type_layouts);
|
||||
|
||||
Opts.UseSwiftCall = Args.hasArg(OPT_enable_swiftcall);
|
||||
|
||||
// This is set to true by default.
|
||||
|
||||
Reference in New Issue
Block a user