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

Unified Diff: runtime/vm/object.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/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 37378)
+++ runtime/vm/object.h (working copy)
@@ -1997,7 +1997,8 @@
// Works with map [deopt-id] -> ICData.
void SaveICDataMap(
const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data) const;
- RawArray* RestoreICDataMap() const;
+ void RestoreICDataMap(
+ ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data) const;
RawArray* ic_data_array() const;
void ClearICData() const;
@@ -3682,15 +3683,6 @@
// (inclusive) and 'end_offset' (exclusive).
bool ObjectExistsInArea(intptr_t start_offest, intptr_t end_offset) const;
- // Each (*node_ids)[n] has a an extracted ic data array (*arrays)[n].
- // Returns the maximum id found.
- intptr_t ExtractIcDataArraysAtCalls(
- GrowableArray<intptr_t>* node_ids,
- const GrowableObjectArray& ic_data_objs) const;
-
- // Returns an array indexed by deopt id, containing the extracted ICData.
- RawArray* ExtractTypeFeedbackArray() const;
-
RawString* Name() const;
RawString* PrettyName() const;
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698