| 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_OBJECTS_H_ | 5 #ifndef V8_OBJECTS_H_ |
| 6 #define V8_OBJECTS_H_ | 6 #define V8_OBJECTS_H_ |
| 7 | 7 |
| 8 #include "allocation.h" | 8 #include "allocation.h" |
| 9 #include "assert-scope.h" | 9 #include "assert-scope.h" |
| 10 #include "builtins.h" | 10 #include "builtins.h" |
| (...skipping 7442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7453 // [receiver]: The receiver of the suspended computation. | 7453 // [receiver]: The receiver of the suspended computation. |
| 7454 DECL_ACCESSORS(receiver, Object) | 7454 DECL_ACCESSORS(receiver, Object) |
| 7455 | 7455 |
| 7456 // [continuation]: Offset into code of continuation. | 7456 // [continuation]: Offset into code of continuation. |
| 7457 // | 7457 // |
| 7458 // A positive offset indicates a suspended generator. The special | 7458 // A positive offset indicates a suspended generator. The special |
| 7459 // kGeneratorExecuting and kGeneratorClosed values indicate that a generator | 7459 // kGeneratorExecuting and kGeneratorClosed values indicate that a generator |
| 7460 // cannot be resumed. | 7460 // cannot be resumed. |
| 7461 inline int continuation(); | 7461 inline int continuation(); |
| 7462 inline void set_continuation(int continuation); | 7462 inline void set_continuation(int continuation); |
| 7463 inline bool is_closed(); |
| 7464 inline bool is_executing(); |
| 7463 inline bool is_suspended(); | 7465 inline bool is_suspended(); |
| 7464 | 7466 |
| 7465 // [operand_stack]: Saved operand stack. | 7467 // [operand_stack]: Saved operand stack. |
| 7466 DECL_ACCESSORS(operand_stack, FixedArray) | 7468 DECL_ACCESSORS(operand_stack, FixedArray) |
| 7467 | 7469 |
| 7468 // [stack_handler_index]: Index of first stack handler in operand_stack, or -1 | 7470 // [stack_handler_index]: Index of first stack handler in operand_stack, or -1 |
| 7469 // if the captured activation had no stack handler. | 7471 // if the captured activation had no stack handler. |
| 7470 inline int stack_handler_index(); | 7472 inline int stack_handler_index(); |
| 7471 inline void set_stack_handler_index(int stack_handler_index); | 7473 inline void set_stack_handler_index(int stack_handler_index); |
| 7472 | 7474 |
| (...skipping 3646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11119 } else { | 11121 } else { |
| 11120 value &= ~(1 << bit_position); | 11122 value &= ~(1 << bit_position); |
| 11121 } | 11123 } |
| 11122 return value; | 11124 return value; |
| 11123 } | 11125 } |
| 11124 }; | 11126 }; |
| 11125 | 11127 |
| 11126 } } // namespace v8::internal | 11128 } } // namespace v8::internal |
| 11127 | 11129 |
| 11128 #endif // V8_OBJECTS_H_ | 11130 #endif // V8_OBJECTS_H_ |
| OLD | NEW |