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

Unified Diff: runtime/vm/object.h

Issue 335173002: Save ICData of unoptimized code in the function, thus preserving it across repated unoptimized comp… (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
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 37375)
+++ runtime/vm/object.h (working copy)
@@ -1994,11 +1994,18 @@
// Return false and report an error if the fingerprint does not match.
bool CheckSourceFingerprint(int32_t fp) const;
+ void SetSavedICData(
+ const ZoneGrowableArray<const ICData*>& deopt_id_to_ic_data) const;
+ RawArray* ic_data_array() const;
+ void ClearICData() const;
+
static const int kCtorPhaseInit = 1 << 0;
static const int kCtorPhaseBody = 1 << 1;
static const int kCtorPhaseAll = (kCtorPhaseInit | kCtorPhaseBody);
private:
+ void set_ic_data_array(const Array& value) const;
+
enum KindTagBits {
kKindTagPos = 0,
kKindTagSize = 4,

Powered by Google App Engine
This is Rietveld 408576698