Index: runtime/vm/flow_graph_allocator.cc |
diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc |
index 558e6f7d06c35fbdb7e3c034af96194f827a357d..7b62e3792c3461fd16262c6b9814eb4e6c5622cc 100644 |
--- a/runtime/vm/flow_graph_allocator.cc |
+++ b/runtime/vm/flow_graph_allocator.cc |
@@ -616,6 +616,9 @@ void FlowGraphAllocator::BuildLiveRanges() { |
// TODO(vegorov) support try-catch/finally for DBC. |
flow_graph_.parsed_function().Bailout("FlowGraphAllocator", "Catch"); |
#endif |
+ |
+ ProcessEnvironmentUses(catch_entry, catch_entry); // For lazy deopt |
+ |
for (intptr_t i = 0; |
i < catch_entry->initial_definitions()->length(); |
i++) { |