Index: runtime/vm/il_printer.cc |
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
index 1387730ecad7d399fc0151d4e9412008e8383064..c6802250c7a32360b71b7f53ce7081a30ccfe661 100644 |
--- a/runtime/vm/il_printer.cc |
+++ b/runtime/vm/il_printer.cc |
@@ -1050,7 +1050,12 @@ static const char *RepresentationToCString(Representation rep) { |
void PhiInstr::PrintTo(BufferFormatter* f) const { |
- f->Print("v%" Pd " <- phi(", ssa_temp_index()); |
+ if (HasPairRepresentation()) { |
+ f->Print("(v%" Pd ", v%" Pd ") <- phi(", |
+ ssa_temp_index(), ssa_temp_index() + 1); |
+ } else { |
+ f->Print("v%" Pd " <- phi(", ssa_temp_index()); |
+ } |
for (intptr_t i = 0; i < inputs_.length(); ++i) { |
if (inputs_[i] != NULL) inputs_[i]->PrintTo(f); |
if (i < inputs_.length() - 1) f->Print(", "); |