Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 96a3800c549774fcfb645487135318f433ef5816..933a07599a455f6a19774a84b198b41e3aefdd13 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4299,12 +4299,7 @@ class Code: public HeapObject { |
public: |
// Opaque data type for encapsulating code flags like kind, inline |
// cache state, and arguments count. |
- // FLAGS_MIN_VALUE and FLAGS_MAX_VALUE are specified to ensure that |
- // enumeration type has correct value range (see Issue 830 for more details). |
- enum Flags { |
- FLAGS_MIN_VALUE = 0, |
- FLAGS_MAX_VALUE = kMaxUInt32 |
- }; |
+ typedef uint32_t Flags; |
#define CODE_KIND_LIST(V) \ |
V(FUNCTION) \ |