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

Unified Diff: vm/flow_graph_builder.h

Issue 10409043: Make saving and restoring of the context around closure calls explicit. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 7 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 | vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: vm/flow_graph_builder.h
===================================================================
--- vm/flow_graph_builder.h (revision 7782)
+++ vm/flow_graph_builder.h (working copy)
@@ -180,6 +180,8 @@
void BuildThrowNode(ThrowNode* node);
+ ClosureCallComp* BuildClosureCall(ClosureCallNode* node);
+
private:
// Specify a computation as the final result. Adds a Do instruction to
// the graph, but normally overridden in subclasses.
@@ -217,6 +219,7 @@
virtual void VisitConditionalExprNode(ConditionalExprNode* node);
virtual void VisitLoadLocalNode(LoadLocalNode* node);
virtual void VisitThrowNode(ThrowNode* node);
+ virtual void VisitClosureCallNode(ClosureCallNode* node);
Value* value() const { return value_; }
« no previous file with comments | « no previous file | vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698