Index: runtime/vm/flow_graph_inliner.cc |
diff --git a/runtime/vm/flow_graph_inliner.cc b/runtime/vm/flow_graph_inliner.cc |
index b07f961ba8cddb686bfcf59881631c447e64ea4c..471c5118483b1c8f9ee30237a6e2ecad38d9dc90 100644 |
--- a/runtime/vm/flow_graph_inliner.cc |
+++ b/runtime/vm/flow_graph_inliner.cc |
@@ -732,7 +732,8 @@ class CallSiteInliner : public ValueObject { |
isolate->loading_invalidation_gen())) { |
// Loading occured while parsing. We need to abort here because |
// state changed while compiling. |
- Compiler::AbortBackgroundCompilation(Thread::kNoDeoptId); |
+ Compiler::AbortBackgroundCompilation(Thread::kNoDeoptId, |
+ "Loading occured while parsing in inliner"); |
} |
} |
@@ -743,7 +744,8 @@ class CallSiteInliner : public ValueObject { |
function.RestoreICDataMap(ic_data_array, clone_ic_data); |
if (Compiler::IsBackgroundCompilation() && |
(function.ic_data_array() == Array::null())) { |
- Compiler::AbortBackgroundCompilation(Thread::kNoDeoptId); |
+ Compiler::AbortBackgroundCompilation(Thread::kNoDeoptId, |
+ "ICData cleared while inlining"); |
} |
// Build the callee graph. |