Index: runtime/vm/stack_frame.h |
=================================================================== |
--- runtime/vm/stack_frame.h (revision 16818) |
+++ 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 OptimizedDartFrameIterator : public ValueObject { |
srdjan
2013/01/10 21:53:57
InlinedFunctionsDartFrameIterator instead?
siva
2013/01/12 00:20:54
I renamed it to InlinedFunctionsInDartFrameIterato
|
+ public: |
+ explicit OptimizedDartFrameIterator(StackFrame* frame); |
+ RawFunction* GetNextFunction(uword* pc); |
+ |
+ private: |
+ intptr_t index_; |
+ StackFrame* frame_; |
+ Function& func_; |
+ DeoptInfo& deopt_info_; |
+ Array& object_table_; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(OptimizedDartFrameIterator); |
+}; |
+ |
} // namespace dart |
#endif // VM_STACK_FRAME_H_ |