| Index: src/objects.h
|
| diff --git a/src/objects.h b/src/objects.h
|
| index ca7c6a97145c25291eda93bf88ed0ae234f317cc..8978261c7212793a8ac9f1ca83e1c9be6df8c1b1 100644
|
| --- a/src/objects.h
|
| +++ b/src/objects.h
|
| @@ -6396,9 +6396,14 @@ class JSGeneratorObject: public JSObject {
|
| inline int continuation();
|
| inline void set_continuation(int continuation);
|
|
|
| - // [operands]: Saved operand stack.
|
| + // [operand_stack]: Saved operand stack.
|
| DECL_ACCESSORS(operand_stack, FixedArray)
|
|
|
| + // [stack_handler_index]: Index of first stack handler in operand_stack, or -1
|
| + // if the captured activation had no stack handler.
|
| + inline int stack_handler_index();
|
| + inline void set_stack_handler_index(int stack_handler_index);
|
| +
|
| // Casting.
|
| static inline JSGeneratorObject* cast(Object* obj);
|
|
|
| @@ -6416,7 +6421,9 @@ class JSGeneratorObject: public JSObject {
|
| static const int kReceiverOffset = kContextOffset + kPointerSize;
|
| static const int kContinuationOffset = kReceiverOffset + kPointerSize;
|
| static const int kOperandStackOffset = kContinuationOffset + kPointerSize;
|
| - static const int kSize = kOperandStackOffset + kPointerSize;
|
| + static const int kStackHandlerIndexOffset =
|
| + kOperandStackOffset + kPointerSize;
|
| + static const int kSize = kStackHandlerIndexOffset + kPointerSize;
|
|
|
| // Resume mode, for use by runtime functions.
|
| enum ResumeMode { SEND, THROW };
|
|
|