Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index c1e08a2d78eb1faa8073860e1484534f3071fb2f..4f32eac525e9acef85ae55b512c93597fb4822f7 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7356,8 +7356,8 @@ class JSGeneratorObject: public JSObject { |
DECLARE_VERIFIER(JSGeneratorObject) |
// Magic sentinel values for the continuation. |
- static const int kGeneratorExecuting = -1; |
- static const int kGeneratorClosed = 0; |
+ static const int kGeneratorExecuting = -2; |
+ static const int kGeneratorClosed = -1; |
// Layout description. |
static const int kFunctionOffset = JSObject::kHeaderSize; |