Index: runtime/vm/intermediate_language_mips.cc |
diff --git a/runtime/vm/intermediate_language_mips.cc b/runtime/vm/intermediate_language_mips.cc |
index e69534353de961ceb4e86fffb43b2d3e31c08569..e824df18862e5c411a9bf1cc4128604139ea1d92 100644 |
--- a/runtime/vm/intermediate_language_mips.cc |
+++ b/runtime/vm/intermediate_language_mips.cc |
@@ -5755,8 +5755,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()); |
} |