| Index: runtime/vm/jit_optimizer.cc
|
| diff --git a/runtime/vm/jit_optimizer.cc b/runtime/vm/jit_optimizer.cc
|
| index 8a632f16d299208fb5a741363f954043c6932356..afc1d2e0ae842582758414023f0180091d8499b9 100644
|
| --- a/runtime/vm/jit_optimizer.cc
|
| +++ b/runtime/vm/jit_optimizer.cc
|
| @@ -249,10 +249,12 @@ void JitOptimizer::SpecializePolymorphicInstanceCall(
|
| }
|
|
|
| const bool with_checks = false;
|
| + const bool complete = false;
|
| PolymorphicInstanceCallInstr* specialized =
|
| new(Z) PolymorphicInstanceCallInstr(call->instance_call(),
|
| ic_data,
|
| - with_checks);
|
| + with_checks,
|
| + complete);
|
| call->ReplaceWith(specialized, current_iterator());
|
| }
|
|
|
| @@ -2755,7 +2757,8 @@ void JitOptimizer::VisitInstanceCall(InstanceCallInstr* instr) {
|
| if (!flow_graph()->InstanceCallNeedsClassCheck(instr, function_kind)) {
|
| PolymorphicInstanceCallInstr* call =
|
| new(Z) PolymorphicInstanceCallInstr(instr, unary_checks,
|
| - /* call_with_checks = */ false);
|
| + /* call_with_checks = */ false,
|
| + /* complete = */ false);
|
| instr->ReplaceWith(call, current_iterator());
|
| return;
|
| }
|
| @@ -2774,7 +2777,8 @@ void JitOptimizer::VisitInstanceCall(InstanceCallInstr* instr) {
|
| }
|
| PolymorphicInstanceCallInstr* call =
|
| new(Z) PolymorphicInstanceCallInstr(instr, unary_checks,
|
| - call_with_checks);
|
| + call_with_checks,
|
| + /* complete = */ false);
|
| instr->ReplaceWith(call, current_iterator());
|
| }
|
| }
|
|
|