| Index: runtime/vm/flow_graph_builder.cc
|
| ===================================================================
|
| --- runtime/vm/flow_graph_builder.cc (revision 9469)
|
| +++ runtime/vm/flow_graph_builder.cc (working copy)
|
| @@ -2456,7 +2456,7 @@
|
| intptr_t i = 0;
|
| for (; i < parsed_function().function().num_fixed_parameters(); ++i) {
|
| ParameterInstr* param = new ParameterInstr(i);
|
| - param->set_ssa_temp_index(current_ssa_temp_index_++); // New SSA temp.
|
| + param->set_ssa_temp_index(alloc_ssa_temp_index()); // New SSA temp.
|
| start_env->Add(new UseVal(param));
|
| }
|
|
|
| @@ -2504,7 +2504,7 @@
|
| PhiInstr* phi = (*join->phis())[i];
|
| if (phi != NULL) {
|
| (*env)[i] = new UseVal(phi);
|
| - phi->set_ssa_temp_index(current_ssa_temp_index_++); // New SSA temp.
|
| + phi->set_ssa_temp_index(alloc_ssa_temp_index()); // New SSA temp.
|
| }
|
| }
|
| }
|
| @@ -2573,7 +2573,7 @@
|
| // Not a load or store.
|
| if (bind->is_used()) {
|
| // Assign fresh SSA temporary and update expression stack.
|
| - bind->set_ssa_temp_index(current_ssa_temp_index_++);
|
| + bind->set_ssa_temp_index(alloc_ssa_temp_index());
|
| env->Add(new UseVal(bind));
|
| }
|
| }
|
|
|