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

Unified Diff: runtime/vm/object.h

Issue 817823002: Add inlining ranges/intervals to code objects so that we can map a pc to the inlined stack. The map… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years 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.h ('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
===================================================================
--- runtime/vm/object.h (revision 42521)
+++ runtime/vm/object.h (working copy)
@@ -3960,6 +3960,23 @@
const Comments& comments() const;
void set_comments(const Comments& comments) const;
+ enum InlinedIntervalEntries {
+ kInlIntStart = 0,
+ kInlIntEnd = 1,
+ kInlIntFunction = 2,
+ kInlIntNumEntries = 3
+ };
+
+ RawArray* inlined_intervals() const {
+ return raw_ptr()->inlined_intervals_;
+ }
+ void set_inlined_intervals(const Array& value) const;
+
+ void GetInlinedFunctionsAt(
+ intptr_t offset, GrowableArray<Function*>* fs) const;
+
+ void DumpInlinedIntervals() const;
+
RawLocalVarDescriptors* var_descriptors() const {
return raw_ptr()->var_descriptors_;
}
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698