| Index: src/frames.h
|
| diff --git a/src/frames.h b/src/frames.h
|
| index 16ebba5f61fdbfec0a79a5c1b9755d40c3978ed3..6b51fb868cd68fa3bf226d7c695a2cc152cf2535 100644
|
| --- a/src/frames.h
|
| +++ b/src/frames.h
|
| @@ -640,12 +640,16 @@ class ExitFrame: public StackFrame {
|
| friend class StackFrameIteratorBase;
|
| };
|
|
|
| +class JavaScriptFrame;
|
| +
|
| class FrameSummary BASE_EMBEDDED {
|
| public:
|
| FrameSummary(Object* receiver, JSFunction* function,
|
| 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_; }
|
| @@ -729,7 +733,6 @@ class StandardFrame : public StackFrame {
|
| friend class SafeStackFrameIterator;
|
| };
|
|
|
| -
|
| class JavaScriptFrame : public StandardFrame {
|
| public:
|
| Type type() const override { return JAVA_SCRIPT; }
|
| @@ -897,11 +900,11 @@ 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.
|
| - void PatchBytecodeArray(Object* bytecode_array);
|
| + void PatchBytecodeArray(BytecodeArray* bytecode_array);
|
|
|
| // Access to the interpreter register file for this frame.
|
| Object* GetInterpreterRegister(int register_index) const;
|
|
|