Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index 9ca218ac52d848405662dbbfad4816f5d12b2b18..ccbb2d1bb82046287a6b71642c555ef857b151ff 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -886,6 +886,8 @@ class SafeStackFrameIterator: public StackFrameIteratorBase { |
inline JavaScriptFrame* frame() const; |
void Advance(); |
+ StackFrame::Type top_frame_type() const { return top_frame_type_; } |
+ |
private: |
void AdvanceOneFrame(); |
@@ -899,6 +901,7 @@ class SafeStackFrameIterator: public StackFrameIteratorBase { |
const Address low_bound_; |
const Address high_bound_; |
+ StackFrame::Type top_frame_type_; |
}; |