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

Unified Diff: runtime/vm/stack_frame.h

Issue 11833025: Fix for issue 7757 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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/object.cc ('k') | runtime/vm/stack_frame.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/stack_frame.h
===================================================================
--- runtime/vm/stack_frame.h (revision 16999)
+++ runtime/vm/stack_frame.h (working copy)
@@ -225,6 +225,25 @@
DISALLOW_COPY_AND_ASSIGN(DartFrameIterator);
};
+
+// Iterator for iterating over all inlined dart functions in an optimized
+// dart frame (the iteration includes the function that is inlining the
+// other functions).
+class InlinedFunctionsInDartFrameIterator : public ValueObject {
+ public:
+ explicit InlinedFunctionsInDartFrameIterator(StackFrame* frame);
+ RawFunction* GetNextFunction(uword* pc);
+
+ private:
+ intptr_t index_;
+ StackFrame* frame_;
+ Function& func_;
+ DeoptInfo& deopt_info_;
+ Array& object_table_;
+
+ DISALLOW_COPY_AND_ASSIGN(InlinedFunctionsInDartFrameIterator);
+};
+
} // namespace dart
#endif // VM_STACK_FRAME_H_
« no previous file with comments | « runtime/vm/object.cc ('k') | runtime/vm/stack_frame.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698