Index: runtime/vm/flow_graph_inliner.cc |
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc |
index 1d3937704a34d910e05de19ccb421b8a24a49274..0d2e73d2202ba80b950487864eff65fc408b0e9e 100644 |
--- a/runtime/vm/flow_graph_inliner.cc |
+++ b/runtime/vm/flow_graph_inliner.cc |
@@ -621,6 +621,7 @@ class CallSiteInliner : public ValueObject { |
++inlining_recursion_depth_; |
inlined_recursive_call_ = false; |
} |
+ thread()->CheckForSafepoint(); |
} |
collected_call_sites_ = NULL; |