Index: runtime/vm/flow_graph_builder.cc |
diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc |
index 255feed3129a2f95d0533864929673b74529020d..da2caaadb36901bf66eba322f7d04cc64e55e28e 100644 |
--- a/runtime/vm/flow_graph_builder.cc |
+++ b/runtime/vm/flow_graph_builder.cc |
@@ -489,7 +489,7 @@ Definition* InlineExitCollector::JoinReturns(BlockEntryInstr** exit_block, |
if (call_->HasUses()) { |
// Add a phi of the return values. |
PhiInstr* phi = new(Z) PhiInstr(join, num_exits); |
- phi->set_ssa_temp_index(caller_graph_->alloc_ssa_temp_index()); |
+ caller_graph_->AllocateSSAIndexes(phi); |
phi->mark_alive(); |
for (intptr_t i = 0; i < num_exits; ++i) { |
ReturnAt(i)->RemoveEnvironment(); |