| Index: runtime/vm/flow_graph_inliner.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_inliner.cc (revision 14213)
|
| +++ runtime/vm/flow_graph_inliner.cc (working copy)
|
| @@ -29,7 +29,6 @@
|
| DECLARE_FLAG(int, deoptimization_counter_threshold);
|
| DECLARE_FLAG(bool, verify_compiler);
|
| DECLARE_FLAG(bool, compiler_stats);
|
| -DECLARE_FLAG(bool, reject_named_argument_as_positional);
|
|
|
| #define TRACE_INLINING(statement) \
|
| do { \
|
| @@ -280,16 +279,6 @@
|
| return false;
|
| }
|
|
|
| - // Abort if we are running legacy support for optional parameters.
|
| - if (!FLAG_reject_named_argument_as_positional &&
|
| - function.HasOptionalPositionalParameters() &&
|
| - (!argument_names.IsNull() && (argument_names.Length() > 0))) {
|
| - function.set_is_inlinable(false);
|
| - TRACE_INLINING(OS::Print(
|
| - " Bailout: named optional positional parameter\n"));
|
| - return false;
|
| - }
|
| -
|
| Isolate* isolate = Isolate::Current();
|
| // Save and clear IC data.
|
| const Array& prev_ic_data = Array::Handle(isolate->ic_data_array());
|
|
|