Index: runtime/vm/aot_optimizer.cc |
diff --git a/runtime/vm/aot_optimizer.cc b/runtime/vm/aot_optimizer.cc |
index 526cbe97e9b9998cc50c3b89e14ec717c3f922d9..22e16aaaaeece313e5585a6ba76e2014e762a5f2 100644 |
--- a/runtime/vm/aot_optimizer.cc |
+++ b/runtime/vm/aot_optimizer.cc |
@@ -718,7 +718,7 @@ bool AotOptimizer::TryReplaceWithEqualityOp(InstanceCallInstr* call, |
StrictCompareInstr* comp = new (Z) |
StrictCompareInstr(call->token_pos(), Token::kEQ_STRICT, |
new (Z) Value(left), new (Z) Value(right), |
- false); // No number check. |
+ /* number_check = */ false, Thread::kNoDeoptId); |
ReplaceCall(call, comp); |
return true; |
} |
@@ -1449,10 +1449,9 @@ void AotOptimizer::ReplaceWithInstanceOf(InstanceCallInstr* call) { |
ConstantInstr* cid = |
flow_graph()->GetConstant(Smi::Handle(Z, Smi::New(type_cid))); |
- StrictCompareInstr* check_cid = |
- new (Z) StrictCompareInstr(call->token_pos(), Token::kEQ_STRICT, |
- new (Z) Value(left_cid), new (Z) Value(cid), |
- false); // No number check. |
+ StrictCompareInstr* check_cid = new (Z) StrictCompareInstr( |
+ call->token_pos(), Token::kEQ_STRICT, new (Z) Value(left_cid), |
+ new (Z) Value(cid), /* number_check = */ false, Thread::kNoDeoptId); |
ReplaceCall(call, check_cid); |
return; |
} |