| Index: runtime/vm/flow_graph_compiler_arm.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_compiler_arm.cc (revision 24876)
|
| +++ runtime/vm/flow_graph_compiler_arm.cc (working copy)
|
| @@ -1125,8 +1125,7 @@
|
| ASSERT(!parsed_function().function().HasOptionalParameters());
|
| const bool check_arguments = true;
|
| #else
|
| - const bool check_arguments =
|
| - function.IsClosureFunction() || function.IsNoSuchMethodDispatcher();
|
| + const bool check_arguments = function.IsClosureFunction();
|
| #endif
|
| if (check_arguments) {
|
| __ Comment("Check argument count");
|
| @@ -1140,7 +1139,7 @@
|
| __ cmp(R0, ShifterOperand(R1));
|
| __ b(&correct_num_arguments, EQ);
|
| __ Bind(&wrong_num_arguments);
|
| - if (function.IsClosureFunction() || function.IsNoSuchMethodDispatcher()) {
|
| + if (function.IsClosureFunction()) {
|
| // Invoke noSuchMethod function passing the original function name.
|
| // For closure functions, use "call" as the original name.
|
| const String& name =
|
|
|