| Index: runtime/vm/flow_graph_allocator.cc
|
| diff --git a/runtime/vm/flow_graph_allocator.cc b/runtime/vm/flow_graph_allocator.cc
|
| index bcc9e6e278ea4d12f639160669bbfccf6e0cd85b..506c96cee505bd5d427dff9e36369d5970d1570c 100644
|
| --- a/runtime/vm/flow_graph_allocator.cc
|
| +++ b/runtime/vm/flow_graph_allocator.cc
|
| @@ -146,8 +146,8 @@ void FlowGraphAllocator::ComputeInitialSets() {
|
| Value* val = graph_entry->start_env()->values()[i];
|
| if (val->IsUse()) {
|
| const intptr_t vreg = val->AsUse()->definition()->ssa_temp_index();
|
| - kill_[0]->Add(vreg);
|
| - live_in_[0]->Remove(vreg);
|
| + kill_[graph_entry->postorder_number()]->Add(vreg);
|
| + live_in_[graph_entry->postorder_number()]->Remove(vreg);
|
| }
|
| }
|
|
|
|
|