Index: runtime/vm/flow_graph_allocator.cc |
diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc |
index 4bc071cc1c6dc0023a4fff5a2016128fe4bf6753..47d9d599df888f53c00e4a97aa59495ba5a4aef6 100644 |
--- a/runtime/vm/flow_graph_allocator.cc |
+++ b/runtime/vm/flow_graph_allocator.cc |
@@ -663,6 +663,7 @@ void FlowGraphAllocator::ProcessInitialDefinition(Definition* defn, |
#if defined(TARGET_ARCH_DBC) |
if (block->IsCatchBlockEntry()) { |
if (defn->IsParameter()) { |
+ // This must be in sync with FlowGraphCompiler::CatchEntryRegForVariable. |
ParameterInstr* param = defn->AsParameter(); |
intptr_t slot_index = param->index(); |
AssignSafepoints(defn, range); |