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

Unified Diff: runtime/vm/flow_graph_builder.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/coverage.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_builder.h
===================================================================
--- runtime/vm/flow_graph_builder.h (revision 37378)
+++ runtime/vm/flow_graph_builder.h (working copy)
@@ -143,7 +143,7 @@
// The inlining context is NULL if not inlining. The osr_id is the deopt
// id of the OSR entry or Isolate::kNoDeoptId if not compiling for OSR.
FlowGraphBuilder(ParsedFunction* parsed_function,
- const Array& ic_data_array,
+ const ZoneGrowableArray<const ICData*>& ic_data_array,
InlineExitCollector* exit_collector,
intptr_t osr_id,
bool is_optimizing);
@@ -151,7 +151,9 @@
FlowGraph* BuildGraph();
ParsedFunction* parsed_function() const { return parsed_function_; }
- const Array& ic_data_array() const { return ic_data_array_; }
+ const ZoneGrowableArray<const ICData*>& ic_data_array() const {
+ return ic_data_array_;
+ }
void WarnOnJSIntegralNumTypeTest(AstNode* node,
const AbstractType& type) const;
@@ -235,7 +237,7 @@
}
ParsedFunction* parsed_function_;
- const Array& ic_data_array_;
+ const ZoneGrowableArray<const ICData*>& ic_data_array_;
const intptr_t num_copied_params_;
const intptr_t num_non_copied_params_;
« no previous file with comments | « runtime/vm/coverage.cc ('k') | runtime/vm/flow_graph_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698