Index: runtime/vm/jit_optimizer.cc |
diff --git a/runtime/vm/jit_optimizer.cc b/runtime/vm/jit_optimizer.cc |
index d536fd60223a8b8b5a4cc5f375fccb5f35733de2..199f296388a99b2ede9208d814dd3adf477a6fa1 100644 |
--- a/runtime/vm/jit_optimizer.cc |
+++ b/runtime/vm/jit_optimizer.cc |
@@ -607,7 +607,7 @@ bool JitOptimizer::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; |
} |
@@ -1361,10 +1361,9 @@ void JitOptimizer::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; |
} |