Index: runtime/vm/intermediate_language_x64.cc |
diff --git a/runtime/vm/intermediate_language_x64.cc b/runtime/vm/intermediate_language_x64.cc |
index fa08bfb1dbae2cabf48d1628aca45945ae0dbd8d..689f7e2e1a7948c2ee5b9fa050d6480984c8c66f 100644 |
--- a/runtime/vm/intermediate_language_x64.cc |
+++ b/runtime/vm/intermediate_language_x64.cc |
@@ -6420,7 +6420,9 @@ void DebugStepCheckInstr::EmitNativeCode(FlowGraphCompiler* compiler) { |
ASSERT(!compiler->is_optimizing()); |
StubCode* stub_code = compiler->isolate()->stub_code(); |
const ExternalLabel label(stub_code->DebugStepCheckEntryPoint()); |
- compiler->GenerateCall(token_pos(), &label, stub_kind_, locs()); |
+ __ CallPatchable(&label); |
+ compiler->AddCurrentDescriptor(stub_kind_, Isolate::kNoDeoptId, token_pos()); |
+ compiler->RecordSafepoint(locs()); |
} |