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

Unified Diff: runtime/vm/il_printer.cc

Issue 999213002: Add a bit of info to flow graph printout (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/il_printer.cc
===================================================================
--- runtime/vm/il_printer.cc (revision 44413)
+++ runtime/vm/il_printer.cc (working copy)
@@ -485,12 +485,12 @@
void LoadLocalInstr::PrintOperandsTo(BufferFormatter* f) const {
- f->Print("%s", local().name().ToCString());
+ f->Print("%s @%d", local().name().ToCString(), local().index());
}
void StoreLocalInstr::PrintOperandsTo(BufferFormatter* f) const {
- f->Print("%s, ", local().name().ToCString());
+ f->Print("%s @%d, ", local().name().ToCString(), local().index());
value()->PrintTo(f);
}
@@ -1146,9 +1146,9 @@
f->Print(" ");
}
if (GetDeoptId() != Isolate::kNoDeoptId) {
- f->Print("goto:%" Pd " %" Pd "", GetDeoptId(), successor()->block_id());
+ f->Print("goto:%" Pd " B%" Pd "", GetDeoptId(), successor()->block_id());
} else {
- f->Print("goto: %" Pd "", successor()->block_id());
+ f->Print("goto: B%" Pd "", successor()->block_id());
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698