Turn on dynamic super method dispatch by default

This removes the -use-native-super-method flag and turns on dynamic
dispatch for native method invocations on super by default.

rdar://problem/22749732
This commit is contained in:
David Farler
2016-01-15 11:55:28 -08:00
parent cd62d52bc3
commit bd8d85da0a
25 changed files with 25 additions and 37 deletions

View File

@@ -1041,8 +1041,6 @@ static bool ParseSILArgs(SILOptions &Opts, ArgList &Args,
Opts.GenerateProfile |= Args.hasArg(OPT_profile_generate);
Opts.EmitProfileCoverageMapping |= Args.hasArg(OPT_profile_coverage_mapping);
Opts.UseNativeSuperMethod |=
Args.hasArg(OPT_use_native_super_method);
Opts.EnableGuaranteedClosureContexts |=
Args.hasArg(OPT_enable_guaranteed_closure_contexts);