Index: src/objects-inl.h |
diff --git a/src/objects-inl.h b/src/objects-inl.h |
index fac56495a0048ab66f4678fad43bce600df9050f..77a3fcd27e3d3a56a66cf0beba28670de25a203e 100644 |
--- a/src/objects-inl.h |
+++ b/src/objects-inl.h |
@@ -6343,22 +6343,22 @@ void Foreign::set_foreign_address(Address value) { |
ACCESSORS(JSGeneratorObject, function, JSFunction, kFunctionOffset) |
ACCESSORS(JSGeneratorObject, context, Context, kContextOffset) |
ACCESSORS(JSGeneratorObject, receiver, Object, kReceiverOffset) |
-ACCESSORS(JSGeneratorObject, input, Object, kInputOffset) |
+ACCESSORS(JSGeneratorObject, input_or_debug_pos, Object, kInputOrDebugPosOffset) |
SMI_ACCESSORS(JSGeneratorObject, resume_mode, kResumeModeOffset) |
SMI_ACCESSORS(JSGeneratorObject, continuation, kContinuationOffset) |
ACCESSORS(JSGeneratorObject, operand_stack, FixedArray, kOperandStackOffset) |
-bool JSGeneratorObject::is_suspended() { |
+bool JSGeneratorObject::is_suspended() const { |
DCHECK_LT(kGeneratorExecuting, 0); |
DCHECK_LT(kGeneratorClosed, 0); |
return continuation() >= 0; |
} |
-bool JSGeneratorObject::is_closed() { |
+bool JSGeneratorObject::is_closed() const { |
return continuation() == kGeneratorClosed; |
} |
-bool JSGeneratorObject::is_executing() { |
+bool JSGeneratorObject::is_executing() const { |
return continuation() == kGeneratorExecuting; |
} |