| Index: runtime/vm/flow_graph_builder.cc
|
| diff --git a/runtime/vm/flow_graph_builder.cc b/runtime/vm/flow_graph_builder.cc
|
| index 2424a1d6182db3274ebecf7e0169ed23674f40f1..5f646fed1a55b4b4e1afc6524259b97184054fe5 100644
|
| --- a/runtime/vm/flow_graph_builder.cc
|
| +++ b/runtime/vm/flow_graph_builder.cc
|
| @@ -879,8 +879,8 @@ void FlowGraphBuilder::PrintGraph() const {
|
| OS::Print("\n");
|
| current = current->Print();
|
| }
|
| - if (current != NULL && current->IsBlockEntry()) {
|
| - OS::Print(" goto %d", current->GetBlockNumber());
|
| + if ((current != NULL) && current->IsBlockEntry()) {
|
| + OS::Print(" goto %d", BlockEntryInstr::cast(current)->block_number());
|
| }
|
| OS::Print("\n");
|
| }
|
| @@ -898,7 +898,7 @@ void FlowGraphBuilder::BuildGraph() {
|
| // Number the blocks in reverse postorder starting with 0.
|
| intptr_t last_index = postorder_block_entries_.length() - 1;
|
| for (intptr_t i = last_index; i >= 0; --i) {
|
| - postorder_block_entries_[i]->SetBlockNumber(last_index - i);
|
| + postorder_block_entries_[i]->set_block_number(last_index - i);
|
| }
|
| }
|
| PrintGraph();
|
|
|