Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 429bd49c3399ec2d8bb620d1d46501ad840a1cf2..bbf4c4c0c05847d51dc1491138e4ffcf4305a951 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7156,6 +7156,9 @@ class JSGeneratorObject: public JSObject { |
// [receiver]: The receiver of the suspended computation. |
DECL_ACCESSORS(receiver, Object) |
+ // [input]: The most recent input value. |
+ DECL_ACCESSORS(input, Object) |
+ |
// [continuation]: Offset into code of continuation. |
// |
// A positive offset indicates a suspended generator. The special |
@@ -7184,7 +7187,8 @@ class JSGeneratorObject: public JSObject { |
static const int kFunctionOffset = JSObject::kHeaderSize; |
static const int kContextOffset = kFunctionOffset + kPointerSize; |
static const int kReceiverOffset = kContextOffset + kPointerSize; |
- static const int kContinuationOffset = kReceiverOffset + kPointerSize; |
+ static const int kInputOffset = kReceiverOffset + kPointerSize; |
+ static const int kContinuationOffset = kInputOffset + kPointerSize; |
static const int kOperandStackOffset = kContinuationOffset + kPointerSize; |
static const int kSize = kOperandStackOffset + kPointerSize; |