| Index: runtime/vm/il_printer.cc
|
| diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
|
| index b536165d7acf0b4d4a14dec36217bdb3a3f499c0..ad77166df6c5445b502e1e5d7fbfcbce57d399cd 100644
|
| --- a/runtime/vm/il_printer.cc
|
| +++ b/runtime/vm/il_printer.cc
|
| @@ -522,7 +522,12 @@ void GraphEntryInstr::PrintTo(BufferFormatter* f) const {
|
|
|
|
|
| void JoinEntryInstr::PrintTo(BufferFormatter* f) const {
|
| - f->Print("B%"Pd"[join]", block_id());
|
| + f->Print("B%"Pd"[join] pred(", block_id());
|
| + for (intptr_t i = 0; i < predecessors_.length(); ++i) {
|
| + if (i > 0) f->Print(", ");
|
| + f->Print("B%"Pd, predecessors_[i]->block_id());
|
| + }
|
| + f->Print(")");
|
| if (phis_ != NULL) {
|
| f->Print(" {");
|
| for (intptr_t i = 0; i < phis_->length(); ++i) {
|
| @@ -547,6 +552,11 @@ void PhiInstr::PrintTo(BufferFormatter* f) const {
|
| }
|
| f->Print(")");
|
| PrintPropagatedType(f, *this);
|
| + if (is_alive()) {
|
| + f->Print(" alive");
|
| + } else {
|
| + f->Print(" dead");
|
| + }
|
| if (range_ != NULL) {
|
| f->Print(" ");
|
| range_->PrintTo(f);
|
|
|