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

Unified Diff: vm/flow_graph_builder.h

Issue 10824078: Add explicit PushArgument IL instructions to static calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
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 | « vm/flow_graph_allocator.cc ('k') | 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 10004)
+++ vm/flow_graph_builder.h (working copy)
@@ -142,6 +142,10 @@
void TieLoop(const TestGraphVisitor& test_fragment,
const EffectGraphVisitor& body_fragment);
+ // Wraps a value in a push-argument instruction and adds the result to the
+ // graph.
+ PushArgumentInstr* PushArgument(Value* value);
+
protected:
Computation* BuildStoreLocal(const LocalVariable& local, Value* value);
Computation* BuildLoadLocal(const LocalVariable& local);
@@ -209,7 +213,8 @@
}
Value* BuildObjectAllocation(ConstructorCallNode* node);
- void BuildConstructorCall(ConstructorCallNode* node, Value* alloc_value);
+ void BuildConstructorCall(ConstructorCallNode* node,
+ PushArgumentInstr* alloc_value);
void BuildStoreContext(const LocalVariable& variable);
void BuildLoadContext(const LocalVariable& variable);
« no previous file with comments | « vm/flow_graph_allocator.cc ('k') | vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698