| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_FRAMES_H_ | 5 #ifndef V8_FRAMES_H_ |
| 6 #define V8_FRAMES_H_ | 6 #define V8_FRAMES_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/handles.h" | 9 #include "src/handles.h" |
| 10 #include "src/safepoint-table.h" | 10 #include "src/safepoint-table.h" |
| (...skipping 729 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 return GetNumberOfIncomingArguments(); | 740 return GetNumberOfIncomingArguments(); |
| 741 } | 741 } |
| 742 | 742 |
| 743 // Access the operand stack. | 743 // Access the operand stack. |
| 744 inline Address GetOperandSlot(int index) const; | 744 inline Address GetOperandSlot(int index) const; |
| 745 inline Object* GetOperand(int index) const; | 745 inline Object* GetOperand(int index) const; |
| 746 inline int ComputeOperandsCount() const; | 746 inline int ComputeOperandsCount() const; |
| 747 | 747 |
| 748 // Generator support to preserve operand stack. | 748 // Generator support to preserve operand stack. |
| 749 void SaveOperandStack(FixedArray* store) const; | 749 void SaveOperandStack(FixedArray* store) const; |
| 750 void RestoreOperandStack(FixedArray* store); | |
| 751 | 750 |
| 752 // Debugger access. | 751 // Debugger access. |
| 753 void SetParameterValue(int index, Object* value) const; | 752 void SetParameterValue(int index, Object* value) const; |
| 754 | 753 |
| 755 // Check if this frame is a constructor frame invoked through 'new'. | 754 // Check if this frame is a constructor frame invoked through 'new'. |
| 756 bool IsConstructor() const; | 755 bool IsConstructor() const; |
| 757 | 756 |
| 758 // Determines whether this frame includes inlined activations. To get details | 757 // Determines whether this frame includes inlined activations. To get details |
| 759 // about the inlined frames use {GetFunctions} and {Summarize}. | 758 // about the inlined frames use {GetFunctions} and {Summarize}. |
| 760 bool HasInlinedFrames() const; | 759 bool HasInlinedFrames() const; |
| (...skipping 439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1200 | 1199 |
| 1201 | 1200 |
| 1202 // Reads all frames on the current stack and copies them into the current | 1201 // Reads all frames on the current stack and copies them into the current |
| 1203 // zone memory. | 1202 // zone memory. |
| 1204 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); | 1203 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); |
| 1205 | 1204 |
| 1206 } // namespace internal | 1205 } // namespace internal |
| 1207 } // namespace v8 | 1206 } // namespace v8 |
| 1208 | 1207 |
| 1209 #endif // V8_FRAMES_H_ | 1208 #endif // V8_FRAMES_H_ |
| OLD | NEW |