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

Unified Diff: runtime/vm/object.h

Issue 920113002: Add getCallSiteData to the VM service. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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/observatory/test/call_site_data_test.dart ('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 254ec19db168bd8e88a05e0b30c79e670626ab11..41857e510c993dcee15ed64dba7e6d631056de31 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -1807,6 +1807,8 @@ class Function : public Object {
}
bool HasCode() const;
+ RawGrowableObjectArray* CollectICsWithSourcePositions() const;
+
static intptr_t instructions_offset() {
return OFFSET_OF(RawFunction, instructions_);
}
@@ -3872,6 +3874,10 @@ class ICData : public Object {
bool HasRangeFeedback() const;
RangeFeedback DecodeRangeFeedbackAt(intptr_t idx) const;
+ void PrintToJSONArray(JSONArray* jsarray,
+ intptr_t line,
+ intptr_t column) const;
+
private:
RawArray* ic_data() const {
return raw_ptr()->ic_data_;
« no previous file with comments | « runtime/observatory/test/call_site_data_test.dart ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698