| Index: runtime/vm/flow_graph_inliner.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_inliner.cc (revision 14694)
|
| +++ runtime/vm/flow_graph_inliner.cc (working copy)
|
| @@ -627,8 +627,8 @@
|
| TRACE_INLINING(OS::Print(" Bailout: non-closure operator\n"));
|
| continue;
|
| }
|
| - GrowableArray<Value*> arguments(call->ArgumentCount() - 1);
|
| - for (int i = 1; i < call->ArgumentCount(); ++i) {
|
| + GrowableArray<Value*> arguments(call->ArgumentCount());
|
| + for (int i = 0; i < call->ArgumentCount(); ++i) {
|
| arguments.Add(call->ArgumentAt(i)->value());
|
| }
|
| TryInlining(closure->function(),
|
|
|