Index: runtime/vm/flow_graph_optimizer.cc |
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc |
index 412fec427af18db078321731cd31443b7040f364..c93cb1bd17b802194717058f35c58e63037321e3 100644 |
--- a/runtime/vm/flow_graph_optimizer.cc |
+++ b/runtime/vm/flow_graph_optimizer.cc |
@@ -716,7 +716,7 @@ void FlowGraphAnalyzer::Analyze() { |
BlockEntryInstr* entry = blocks_[i]; |
for (ForwardInstructionIterator it(entry); !it.Done(); it.Advance()) { |
LocationSummary* locs = it.Current()->locs(); |
- if ((locs != NULL) && locs->contains_call()) { |
+ if ((locs != NULL) && locs->can_call()) { |
is_leaf_ = false; |
return; |
} |