| OLD | NEW |
| 1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include <iosfwd> | 8 #include <iosfwd> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 8039 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8050 DECL_ACCESSORS(function, JSFunction) | 8050 DECL_ACCESSORS(function, JSFunction) |
| 8051 | 8051 |
| 8052 // [context]: The context of the suspended computation. | 8052 // [context]: The context of the suspended computation. |
| 8053 DECL_ACCESSORS(context, Context) | 8053 DECL_ACCESSORS(context, Context) |
| 8054 | 8054 |
| 8055 // [receiver]: The receiver of the suspended computation. | 8055 // [receiver]: The receiver of the suspended computation. |
| 8056 DECL_ACCESSORS(receiver, Object) | 8056 DECL_ACCESSORS(receiver, Object) |
| 8057 | 8057 |
| 8058 // [input_or_debug_pos] | 8058 // [input_or_debug_pos] |
| 8059 // For executing generators: the most recent input value. | 8059 // For executing generators: the most recent input value. |
| 8060 // For suspended new-style generators: debug information (bytecode offset). | 8060 // For suspended generators: debug information (bytecode offset). |
| 8061 // For suspended old-style generators: unused. | |
| 8062 // There is currently no need to remember the most recent input value for a | 8061 // There is currently no need to remember the most recent input value for a |
| 8063 // suspended generator. | 8062 // suspended generator. |
| 8064 DECL_ACCESSORS(input_or_debug_pos, Object) | 8063 DECL_ACCESSORS(input_or_debug_pos, Object) |
| 8065 | 8064 |
| 8066 // [resume_mode]: The most recent resume mode. | 8065 // [resume_mode]: The most recent resume mode. |
| 8067 enum ResumeMode { kNext, kReturn, kThrow }; | 8066 enum ResumeMode { kNext, kReturn, kThrow }; |
| 8068 DECL_INT_ACCESSORS(resume_mode) | 8067 DECL_INT_ACCESSORS(resume_mode) |
| 8069 | 8068 |
| 8070 // [continuation] | 8069 // [continuation] |
| 8071 // | 8070 // |
| (...skipping 3796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11868 } | 11867 } |
| 11869 return value; | 11868 return value; |
| 11870 } | 11869 } |
| 11871 }; | 11870 }; |
| 11872 | 11871 |
| 11873 | 11872 |
| 11874 } // NOLINT, false-positive due to second-order macros. | 11873 } // NOLINT, false-positive due to second-order macros. |
| 11875 } // NOLINT, false-positive due to second-order macros. | 11874 } // NOLINT, false-positive due to second-order macros. |
| 11876 | 11875 |
| 11877 #endif // V8_OBJECTS_H_ | 11876 #endif // V8_OBJECTS_H_ |
| OLD | NEW |