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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 10829451: Make Value not a subclass of Computation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: rebased Created 8 years, 4 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_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 11037)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -117,6 +117,8 @@
// Append a Goto (unconditional control flow) instruction and close
// the graph fragment. Assumes this graph fragment is open.
void Goto(JoinEntryInstr* join);
+ // Build a computation for a constant value.
srdjan 2012/08/21 22:14:53 s/Build/Builds/
+ MaterializeComp* Constant(const Object& value);
// Append a 'diamond' branch and join to this graph, depending on which
// parts are reachable. Assumes this graph is open.

Powered by Google App Engine
This is Rietveld 408576698