| Index: runtime/vm/jit_optimizer.cc
|
| diff --git a/runtime/vm/jit_optimizer.cc b/runtime/vm/jit_optimizer.cc
|
| index fe331a5de8f4927f691a314d7a01e021a78cf7db..8a22c85bd8229205c8ae0b6ffa3c084df61e650c 100644
|
| --- a/runtime/vm/jit_optimizer.cc
|
| +++ b/runtime/vm/jit_optimizer.cc
|
| @@ -250,10 +250,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());
|
| }
|
|
|
| @@ -2756,7 +2758,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;
|
| }
|
| @@ -2775,7 +2778,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());
|
| }
|
| }
|
|
|