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

Unified Diff: runtime/vm/flow_graph_optimizer.cc

Issue 10735071: Introduce Goto instructions to the flow graph. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rewrite a comment that was word salad. 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/flow_graph_optimizer.cc
diff --git a/runtime/vm/flow_graph_optimizer.cc b/runtime/vm/flow_graph_optimizer.cc
index c90c67ff0af2d17f04722bd7c69af0fa948dd09b..c3b3cda38488bf63dfd2eddaabceb80ce2b466d9 100644
--- a/runtime/vm/flow_graph_optimizer.cc
+++ b/runtime/vm/flow_graph_optimizer.cc
@@ -555,8 +555,7 @@ static void TryFuseComparisonWithBranch(BindInstr* instr,
comp->MarkFusedWithBranch(branch);
branch->MarkFusedWithComparison(comp);
branch->set_is_negated(true);
-
- // Remove comparison and boolean negation from the graph.
+ // Remove the comparison and the boolean negation from the graph.
branch->set_previous(instr->previous());
instr->previous()->set_next(branch);
return;

Powered by Google App Engine
This is Rietveld 408576698