| Index: runtime/vm/intermediate_language_dbc.cc
|
| diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc
|
| index b3f5d4a42f03966f039b5581803af68b7d615a67..c50085871a6c7fe299d1fb897b1584726070f8ac 100644
|
| --- a/runtime/vm/intermediate_language_dbc.cc
|
| +++ b/runtime/vm/intermediate_language_dbc.cc
|
| @@ -251,10 +251,11 @@ EMIT_NATIVE_CODE(PolymorphicInstanceCall,
|
| }
|
|
|
| if (using_ranges) {
|
| - __ PushPolymorphicInstanceCallByRange(instance_call()->ArgumentCount(),
|
| - length);
|
| + __ PushPolymorphicInstanceCallByRange(
|
| + instance_call()->ArgumentCountWithoutTypeArgs(), length);
|
| } else {
|
| - __ PushPolymorphicInstanceCall(instance_call()->ArgumentCount(), length);
|
| + __ PushPolymorphicInstanceCall(
|
| + instance_call()->ArgumentCountWithoutTypeArgs(), length);
|
| }
|
| for (intptr_t i = 0; i < length; i++) {
|
| const Function& target = *targets_.TargetAt(i)->target;
|
|
|