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

Unified Diff: runtime/vm/object.h

Issue 1343383003: VM: Store edge counters in one per-function array. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 3 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/isolate.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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index d59b78bd7e69f6e232112b6fe88b431ce1e628f8..3e1083a052844c4b8da2f8dd2e5e1d5e35cf4ce0 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2604,7 +2604,8 @@ class Function : public Object {
// Works with map [deopt-id] -> ICData.
void SaveICDataMap(
- const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data) const;
+ const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data,
+ const Array& edge_counters_array) const;
void RestoreICDataMap(
ZoneGrowableArray<const ICData*>* deopt_id_to_ic_data) const;
« no previous file with comments | « runtime/vm/isolate.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698