| Index: runtime/vm/il_printer.cc
|
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
|
| index 9356bcf2a559dc1616e8eae4efd8f3c2c0bf2bf4..10b172406df5f385eab2dec5344a36cbd358a1c4 100644
|
| --- a/runtime/vm/il_printer.cc
|
| +++ b/runtime/vm/il_printer.cc
|
| @@ -48,9 +48,9 @@ void FlowGraphPrinter::PrintBlocks() {
|
| OS::Print("\n");
|
| PrintInstruction(current);
|
| }
|
| - if (current->successor() != NULL) {
|
| - ASSERT(current->successor()->IsBlockEntry());
|
| - OS::Print(" goto %d", current->successor()->AsBlockEntry()->block_id());
|
| + if (current->next() != NULL) {
|
| + ASSERT(current->next()->IsBlockEntry());
|
| + OS::Print(" goto %d", current->next()->AsBlockEntry()->block_id());
|
| }
|
| OS::Print("\n");
|
| }
|
| @@ -539,10 +539,10 @@ void FlowGraphVisualizer::PrintFunction() {
|
| Print("0 0 ");
|
| PrintInstruction(current);
|
| }
|
| - if (current->successor() != NULL) {
|
| - ASSERT(current->successor()->IsBlockEntry());
|
| + if (current->next() != NULL) {
|
| + ASSERT(current->next()->IsBlockEntry());
|
| Print("0 0 _ Goto B%d <|@\n",
|
| - current->successor()->AsBlockEntry()->block_id());
|
| + current->next()->AsBlockEntry()->block_id());
|
| }
|
| END("HIR");
|
| }
|
|
|