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

Unified Diff: runtime/vm/object.h

Issue 1864143002: Add instruction tags to saved ICData (debug mode only). (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 8 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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 9a946b0d9820a6beec129ccfa99af81e8cdad7ed..cdd8b38e35b7ab18afb69f32d335db9885276804 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -2075,6 +2075,11 @@ class ICData : public Object {
kCachedICDataArrayCount = 4
};
+#if defined(TAG_IC_DATA)
+ void set_tag(intptr_t value) const;
+ intptr_t tag() const { return raw_ptr()->tag_; }
+#endif
+
private:
static RawICData* New();
« 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