Index: runtime/vm/intermediate_language_dbc.cc |
diff --git a/runtime/vm/intermediate_language_dbc.cc b/runtime/vm/intermediate_language_dbc.cc |
index 0dda8e1f41979c5293c2376848d8a18402adec07..f1be32dfcd7bebd59e64446839a7375eb9dc6133 100644 |
--- a/runtime/vm/intermediate_language_dbc.cc |
+++ b/runtime/vm/intermediate_language_dbc.cc |
@@ -273,10 +273,10 @@ EMIT_NATIVE_CODE(CheckStackOverflow, |
0, Location::NoLocation(), |
LocationSummary::kCall) { |
__ CheckStack(); |
- compiler->RecordSafepoint(locs()); |
- compiler->AddCurrentDescriptor(RawPcDescriptors::kRuntimeCall, |
- Thread::kNoDeoptId, |
+ compiler->AddCurrentDescriptor(RawPcDescriptors::kOther, |
+ deopt_id(), |
token_pos()); |
+ compiler->RecordAfterCall(this); |
} |