Index: runtime/vm/intermediate_language_arm.cc |
diff --git a/runtime/vm/intermediate_language_arm.cc b/runtime/vm/intermediate_language_arm.cc |
index fa3a2611b59a90b6971ed821e4a2d19fa2249e7c..e02c2e7cc1d4851b7b06a22bff2eccbae0a0e7e0 100644 |
--- a/runtime/vm/intermediate_language_arm.cc |
+++ b/runtime/vm/intermediate_language_arm.cc |
@@ -6964,8 +6964,9 @@ void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(!compiler->is_optimizing()); |
- compiler->GenerateCall( |
- token_pos(), *StubCode::DebugStepCheck_entry(), stub_kind_, locs()); |
+ __ BranchLinkPatchable(*StubCode::DebugStepCheck_entry()); |
+ compiler->AddCurrentDescriptor(stub_kind_, Thread::kNoDeoptId, token_pos()); |
+ compiler->RecordSafepoint(locs()); |
} |