| 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 845 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 856 // Access the parameters. | 856 // Access the parameters. |
| 857 inline Address GetParameterSlot(int index) const; | 857 inline Address GetParameterSlot(int index) const; |
| 858 Object* GetParameter(int index) const override; | 858 Object* GetParameter(int index) const override; |
| 859 int ComputeParametersCount() const override; | 859 int ComputeParametersCount() const override; |
| 860 | 860 |
| 861 // Access the operand stack. | 861 // Access the operand stack. |
| 862 inline Address GetOperandSlot(int index) const; | 862 inline Address GetOperandSlot(int index) const; |
| 863 inline Object* GetOperand(int index) const; | 863 inline Object* GetOperand(int index) const; |
| 864 inline int ComputeOperandsCount() const; | 864 inline int ComputeOperandsCount() const; |
| 865 | 865 |
| 866 // Generator support to preserve operand stack. | |
| 867 void SaveOperandStack(FixedArray* store) const; | |
| 868 | |
| 869 // Debugger access. | 866 // Debugger access. |
| 870 void SetParameterValue(int index, Object* value) const; | 867 void SetParameterValue(int index, Object* value) const; |
| 871 | 868 |
| 872 // Check if this frame is a constructor frame invoked through 'new'. | 869 // Check if this frame is a constructor frame invoked through 'new'. |
| 873 bool IsConstructor() const override; | 870 bool IsConstructor() const override; |
| 874 | 871 |
| 875 // Determines whether this frame includes inlined activations. To get details | 872 // Determines whether this frame includes inlined activations. To get details |
| 876 // about the inlined frames use {GetFunctions} and {Summarize}. | 873 // about the inlined frames use {GetFunctions} and {Summarize}. |
| 877 bool HasInlinedFrames() const; | 874 bool HasInlinedFrames() const; |
| 878 | 875 |
| (...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1371 | 1368 |
| 1372 | 1369 |
| 1373 // Reads all frames on the current stack and copies them into the current | 1370 // Reads all frames on the current stack and copies them into the current |
| 1374 // zone memory. | 1371 // zone memory. |
| 1375 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); | 1372 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); |
| 1376 | 1373 |
| 1377 } // namespace internal | 1374 } // namespace internal |
| 1378 } // namespace v8 | 1375 } // namespace v8 |
| 1379 | 1376 |
| 1380 #endif // V8_FRAMES_H_ | 1377 #endif // V8_FRAMES_H_ |
| OLD | NEW |