Index: src/frames.h |
diff --git a/src/frames.h b/src/frames.h |
index f6806d7563ba89b83bc1f60cd517de9cb3edffee..912871cee1ca70708e043770404e8c350b1258e7 100644 |
--- a/src/frames.h |
+++ b/src/frames.h |
@@ -701,6 +701,7 @@ class StandardFrame: public StackFrame { |
friend class SafeStackFrameIterator; |
}; |
+class JavaScriptFrame; |
class FrameSummary BASE_EMBEDDED { |
public: |
@@ -708,6 +709,8 @@ class FrameSummary BASE_EMBEDDED { |
AbstractCode* abstract_code, int code_offset, |
bool is_constructor); |
+ static FrameSummary GetFirst(JavaScriptFrame* frame); |
+ |
Handle<Object> receiver() { return receiver_; } |
Handle<JSFunction> function() { return function_; } |
Handle<AbstractCode> abstract_code() { return abstract_code_; } |
@@ -893,7 +896,7 @@ class InterpretedFrame : public JavaScriptFrame { |
void PatchBytecodeOffset(int new_offset); |
// Returns the frame's current bytecode array. |
- Object* GetBytecodeArray() const; |
+ BytecodeArray* GetBytecodeArray() const; |
// Updates the frame's BytecodeArray with |bytecode_array|. Used by the |
// debugger to swap execution onto a BytecodeArray patched with breakpoints. |