| Index: runtime/vm/il_printer.cc
|
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
|
| index 05da5b61070c24ff7df25b69917754d480ed0f63..f40e8504e70b9fc08078fea79b087dfbb28b8cef 100644
|
| --- a/runtime/vm/il_printer.cc
|
| +++ b/runtime/vm/il_printer.cc
|
| @@ -327,6 +327,11 @@ void FlowGraphPrinter::VisitStoreContext(StoreContextComp* comp) {
|
| }
|
|
|
|
|
| +void FlowGraphPrinter::VisitGraphEntry(GraphEntryInstr* instr) {
|
| + OS::Print("%2d: [graph]", reverse_index(instr->postorder_number()));
|
| +}
|
| +
|
| +
|
| void FlowGraphPrinter::VisitJoinEntry(JoinEntryInstr* instr) {
|
| OS::Print("%2d: [join]", reverse_index(instr->postorder_number()));
|
| }
|
| @@ -361,14 +366,13 @@ void FlowGraphPrinter::VisitReturn(ReturnInstr* instr) {
|
|
|
|
|
| void FlowGraphPrinter::VisitThrow(ThrowInstr* instr) {
|
| - OS::Print("Throw(");
|
| + OS::Print(" throw ");
|
| instr->exception()->Accept(this);
|
| - OS::Print(")");
|
| }
|
|
|
|
|
| void FlowGraphPrinter::VisitReThrow(ReThrowInstr* instr) {
|
| - OS::Print("ReThrow(");
|
| + OS::Print(" rethrow (");
|
| instr->exception()->Accept(this);
|
| OS::Print(", ");
|
| instr->stack_trace()->Accept(this);
|
| @@ -379,7 +383,7 @@ void FlowGraphPrinter::VisitReThrow(ReThrowInstr* instr) {
|
| void FlowGraphPrinter::VisitBranch(BranchInstr* instr) {
|
| OS::Print(" if ");
|
| instr->value()->Accept(this);
|
| - OS::Print(" goto(%d, %d)",
|
| + OS::Print(" goto (%d, %d)",
|
| reverse_index(instr->true_successor()->postorder_number()),
|
| reverse_index(instr->false_successor()->postorder_number()));
|
| }
|
|
|