Index: runtime/vm/intermediate_language_arm64.cc |
diff --git a/runtime/vm/intermediate_language_arm64.cc b/runtime/vm/intermediate_language_arm64.cc |
index 460699d88c9aea1ba77a665d300f49d12727b3db..8986f04fcbcb965addd2e62b72ad06e02645bfa6 100644 |
--- a/runtime/vm/intermediate_language_arm64.cc |
+++ b/runtime/vm/intermediate_language_arm64.cc |
@@ -5971,13 +5971,15 @@ Condition StrictCompareInstr::EmitComparisonCode(FlowGraphCompiler* compiler, |
Condition true_condition; |
if (left.IsConstant()) { |
true_condition = compiler->EmitEqualityRegConstCompare( |
- right.reg(), left.constant(), needs_number_check(), token_pos()); |
+ right.reg(), left.constant(), needs_number_check(), token_pos(), |
+ deopt_id_); |
} else if (right.IsConstant()) { |
true_condition = compiler->EmitEqualityRegConstCompare( |
- left.reg(), right.constant(), needs_number_check(), token_pos()); |
+ left.reg(), right.constant(), needs_number_check(), token_pos(), |
+ deopt_id_); |
} else { |
true_condition = compiler->EmitEqualityRegRegCompare( |
- left.reg(), right.reg(), needs_number_check(), token_pos()); |
+ left.reg(), right.reg(), needs_number_check(), token_pos(), deopt_id_); |
} |
if (kind() != Token::kEQ_STRICT) { |
ASSERT(kind() == Token::kNE_STRICT); |
@@ -6055,7 +6057,7 @@ void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(!compiler->is_optimizing()); |
__ BranchLinkPatchable(*StubCode::DebugStepCheck_entry()); |
- compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos()); |
+ compiler->AddCurrentDescriptor(stub_kind_, deopt_id_, token_pos()); |
compiler->RecordSafepoint(locs()); |
} |