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

Unified Diff: runtime/vm/il_printer.cc

Issue 11029002: Revert r13022 (revert inlining of methods with control flow), Review URL: https://codereview.chromi… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.h » ('j') | 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 13077)
+++ runtime/vm/il_printer.cc (working copy)
@@ -538,7 +538,12 @@
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) {
@@ -563,6 +568,11 @@
}
f->Print(")");
PrintPropagatedType(f, *this);
+ if (is_alive()) {
+ f->Print(" alive");
+ } else {
+ f->Print(" dead");
+ }
if (range_ != NULL) {
f->Print(" ");
range_->PrintTo(f);
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698