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

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: clean up comments, save space in IL Instruction class. 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
Index: runtime/vm/object.h
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 7f2fb04b4894eb57542dc69ed7729fe9a2f01672..06a6310421825e3fee6f3423924a22eab6c6f325 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2599,7 +2599,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;

Powered by Google App Engine
This is Rietveld 408576698