Index: runtime/vm/il_printer.cc |
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc |
index 891b8aa117a899a32179167b1767339fb05226ad..12866f561a89b2380da41cac5839388572f339f4 100644 |
--- a/runtime/vm/il_printer.cc |
+++ b/runtime/vm/il_printer.cc |
@@ -467,7 +467,9 @@ void ParallelMoveInstr::PrintTo(BufferFormatter* f) const { |
f->Print(" %s ", DebugName()); |
for (intptr_t i = 0; i < moves_.length(); i++) { |
if (i != 0) f->Print(", "); |
- f->Print("%s = %s", moves_[i]->dest().Name(), moves_[i]->src().Name()); |
+ moves_[i]->dest().PrintTo(f); |
+ f->Print(" = "); |
Kevin Millikin (Google)
2012/07/23 12:52:30
I like something that emphasizes the direction of
Vyacheslav Egorov (Google)
2012/07/23 14:06:10
Done.
|
+ moves_[i]->src().PrintTo(f); |
} |
} |
@@ -726,7 +728,9 @@ void Environment::PrintTo(BufferFormatter* f) const { |
if (i > 0) f->Print(", "); |
values_[i]->PrintTo(f); |
if ((i < locations_.length()) && !locations_[i].IsInvalid()) { |
- f->Print(" [%s]", locations_[i].Name()); |
+ f->Print(" ["); |
+ locations_[i].PrintTo(f); |
+ f->Print("]"); |
} |
} |
f->Print(" }"); |