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

Unified Diff: src/objects.h

Issue 17612007: Fix GCC error about comma at end of enumerator list. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 6 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 | « src/log.cc ('k') | src/objects.cc » ('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 a158f478a77719a46207be8ec56a8abd57adf210..a758ff37d78bfa1f801e56126edfdf1999063c0e 100644
--- a/src/objects.h
+++ b/src/objects.h
@@ -4467,12 +4467,7 @@ class Code: public HeapObject {
#define DEFINE_CODE_KIND_ENUM(name) name,
CODE_KIND_LIST(DEFINE_CODE_KIND_ENUM)
#undef DEFINE_CODE_KIND_ENUM
- };
-
- enum {
-#define COUNT_FLAG(name) + 1
- NUMBER_OF_KINDS = 0 CODE_KIND_LIST(COUNT_FLAG)
-#undef COUNT_FLAG
+ NUMBER_OF_KINDS
};
// No more than 16 kinds. The value is currently encoded in four bits in
« no previous file with comments | « src/log.cc ('k') | src/objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698