Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 01d8f6b57969271e720b6ca0e63220142fc9b843..ba54fc94b368e5ef02da22d59d23721b30ceb7ed 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -6648,9 +6648,6 @@ class Script: public Struct { |
enum BuiltinFunctionId { |
kArrayCode, |
- kGeneratorObjectNext, |
- kGeneratorObjectReturn, |
- kGeneratorObjectThrow, |
#define DECLARE_FUNCTION_ID(ignored1, ignore2, name) \ |
k##name, |
FUNCTIONS_WITH_ID_LIST(DECLARE_FUNCTION_ID) |
@@ -7401,7 +7398,7 @@ class JSGeneratorObject: public JSObject { |
static const int kSize = kOperandStackOffset + kPointerSize; |
// Resume mode, for use by runtime functions. |
- enum ResumeMode { NEXT, RETURN, THROW }; |
+ enum ResumeMode { kNext, kReturn, kThrow }; |
private: |
DISALLOW_IMPLICIT_CONSTRUCTORS(JSGeneratorObject); |