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

Unified Diff: runtime/vm/il_printer.cc

Issue 10808008: Revert "Introduce Goto instructions to the flow graph." (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
« no previous file with comments | « runtime/vm/flow_graph_optimizer.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
diff --git a/runtime/vm/il_printer.cc b/runtime/vm/il_printer.cc
index e227a858fd4eb369f6cc6eeb531c30a8553f038b..15fafe4566e80fdff65c745347af01bc5deb0a3d 100644
--- a/runtime/vm/il_printer.cc
+++ b/runtime/vm/il_printer.cc
@@ -394,9 +394,7 @@ void PhiInstr::PrintTo(BufferFormatter* f) const {
void ParameterInstr::PrintTo(BufferFormatter* f) const {
- f->Print(" v%d <- parameter(%d)",
- (ssa_temp_index() != -1) ? ssa_temp_index() : temp_index(),
- index());
+ f->Print(" v%d <- parameter(%d)", index());
}
@@ -442,11 +440,6 @@ void ReThrowInstr::PrintTo(BufferFormatter* f) const {
}
-void GotoInstr::PrintTo(BufferFormatter* f) const {
- f->Print(" goto %d", successor()->block_id());
-}
-
-
void BranchInstr::PrintTo(BufferFormatter* f) const {
f->Print(" %s ", DebugName());
f->Print("if ");
@@ -698,11 +691,6 @@ void ReThrowInstr::PrintToVisualizer(BufferFormatter* f) const {
}
-void GotoInstr::PrintToVisualizer(BufferFormatter* f) const {
- f->Print("_ goto B%d", successor()->block_id());
-}
-
-
void BranchInstr::PrintToVisualizer(BufferFormatter* f) const {
f->Print("_ %s ", DebugName());
f->Print("if ");
« no previous file with comments | « runtime/vm/flow_graph_optimizer.cc ('k') | runtime/vm/intermediate_language.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698