Index: runtime/vm/flow_graph_compiler_mips.cc |
=================================================================== |
--- runtime/vm/flow_graph_compiler_mips.cc (revision 24876) |
+++ runtime/vm/flow_graph_compiler_mips.cc (working copy) |
@@ -1175,8 +1175,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) { |
__ TraceSimMsg("Check argument count"); |
@@ -1191,7 +1190,7 @@ |
ArgumentsDescriptor::positional_count_offset())); |
__ beq(T0, T1, &correct_num_arguments); |
__ 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 = |