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

Unified Diff: runtime/vm/flow_graph_builder.h

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
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | runtime/vm/flow_graph_builder.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
diff --git a/runtime/vm/flow_graph_builder.h b/runtime/vm/flow_graph_builder.h
index fe4585dfd368cf1b2b6b4347943a3f36adb00189..aa54d97ab103ff7c91fc8ea6519292059eaa2cb7 100644
--- a/runtime/vm/flow_graph_builder.h
+++ b/runtime/vm/flow_graph_builder.h
@@ -125,6 +125,9 @@ class EffectGraphVisitor : public AstNodeVisitor {
// Append a single (non-Bind, non-Do) instruction. Assumes this graph is
// open.
srdjan 2012/07/12 16:42:26 Adapt comment to changed AddInstruction.
void AddInstruction(Instruction* instruction);
+ // Append a Goto (unconditional control flow) instruction and close
+ // the graph fragment. Assumes this graph fragment is open.
+ void Goto(JoinEntryInstr* join);
srdjan 2012/07/12 16:42:26 IMO, s/Goto/AppendGotoTo/ makes it more reable at
Kevin Millikin (Google) 2012/07/13 15:34:59 I see your point. Goto is what happens at runtime
// Append a 'diamond' branch and join to this graph, depending on which
// parts are reachable. Assumes this graph is open.
« no previous file with comments | « no previous file | runtime/vm/flow_graph_builder.cc » ('j') | runtime/vm/flow_graph_builder.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698