Index: runtime/vm/flow_graph_inliner.cc |
=================================================================== |
--- runtime/vm/flow_graph_inliner.cc (revision 37101) |
+++ runtime/vm/flow_graph_inliner.cc (working copy) |
@@ -802,6 +802,10 @@ |
FlowGraph::AddToGuardedFields(caller_graph_->guarded_fields(), |
(*callee_graph->guarded_fields())[i]); |
} |
+ // When inlined, we add the deferred prefixes of the callee to the |
+ // caller's list of deferred prefixes. |
+ FlowGraph::AddToDeferredPrefixes(caller_graph()->deferred_prefixes(), |
+ callee_graph->deferred_prefixes()); |
// We allocate a ZoneHandle for the unoptimized code so that it cannot be |
// disconnected from its function during the rest of compilation. |