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

Unified Diff: runtime/vm/flow_graph_builder.h

Issue 10368004: Properly set the element type of literal lists. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 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 7305)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -117,10 +117,12 @@
void TranslateArgumentList(const ArgumentListNode& node,
ZoneGrowableArray<Value*>* values);
- // Creates an instantiated type argument vector used in preparation of a
- // factory call.
+ // Creates an instantiated type argument vector used in preparation of an
+ // allocation call.
// May be called only if allocating an object of a parameterized class.
- Definition* BuildFactoryTypeArguments(ConstructorCallNode* node);
+ Definition* BuildInstantiatedTypeArguments(
+ intptr_t token_index,
+ const AbstractTypeArguments& type_arguments);
// Creates a possibly uninstantiated type argument vector and the type
// argument vector of the instantiator (two values in 'args') used in

Powered by Google App Engine
This is Rietveld 408576698