Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(746)

Unified Diff: runtime/vm/il_printer.cc

Issue 10800037: New linear scan allocator. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/il_printer.cc
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index 15fafe4566e80fdff65c745347af01bc5deb0a3d..72479b88ab825a65285b341bae2fd7b1f900ba9d 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -460,7 +460,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(" = ");
+ moves_[i].src().PrintTo(f);
}
}
@@ -712,7 +714,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(" }");

Powered by Google App Engine
This is Rietveld 408576698