Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1418)

Unified Diff: src/objects.h

Issue 12507010: Turn Flags into a uint32_t typedef. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-1122.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) \
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-1122.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698