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

Unified Diff: runtime/vm/intermediate_language.h

Issue 333403002: Cleanup: use a ZoneGrowableArray instead of Array for ICData map. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 6 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 | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 37378)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -832,7 +832,8 @@
return deopt_id_;
}
- ICData* GetICData(const Array& ic_data_array) const;
+ const ICData* GetICData(
+ const ZoneGrowableArray<const ICData*>& ic_data_array) const;
bool IsBlockEntry() { return (AsBlockEntry() != NULL); }
virtual BlockEntryInstr* AsBlockEntry() { return NULL; }
@@ -2972,7 +2973,7 @@
ZoneGrowableArray<PushArgumentInstr*>* arguments,
const Array& argument_names,
intptr_t checked_argument_count,
- const Array& ic_data_array)
+ const ZoneGrowableArray<const ICData*>& ic_data_array)
: ic_data_(GetICData(ic_data_array)),
token_pos_(token_pos),
function_name_(function_name),
@@ -3452,7 +3453,7 @@
const Function& function,
const Array& argument_names,
ZoneGrowableArray<PushArgumentInstr*>* arguments,
- const Array& ic_data_array)
+ const ZoneGrowableArray<const ICData*>& ic_data_array)
: ic_data_(GetICData(ic_data_array)),
token_pos_(token_pos),
function_(function),
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | runtime/vm/intermediate_language.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698