SIL: Stage in a typed-boxes dialect.

When -sil-enable-typed-boxes is passed, have alloc_box and dealloc_box instructions work with box types instead of NativeObject.

Swift SVN r29511
This commit is contained in:
Joe Groff
2015-06-19 16:39:04 +00:00
parent 7565a65235
commit 910badfe4d
10 changed files with 90 additions and 9 deletions

View File

@@ -938,6 +938,7 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.GenerateProfile |= Args.hasArg(OPT_profile_generate);
Opts.EmitProfileCoverageMapping |= Args.hasArg(OPT_profile_coverage_mapping);
Opts.EnableTypedBoxes |= Args.hasArg(OPT_sil_enable_typed_boxes);
return false;
}