Revision: 15316
Author:   [email protected]
Date:     Tue Jun 25 02:34:22 2013
Log:      Fix GCC error about comma at end of enumerator list.

[email protected]
BUG=

Review URL: https://codereview.chromium.org/17612007
http://code.google.com/p/v8/source/detail?r=15316

Modified:
 /branches/bleeding_edge/src/log.cc
 /branches/bleeding_edge/src/objects.cc
 /branches/bleeding_edge/src/objects.h

=======================================
--- /branches/bleeding_edge/src/log.cc  Mon Jun 24 05:55:19 2013
+++ /branches/bleeding_edge/src/log.cc  Tue Jun 25 02:34:22 2013
@@ -1543,6 +1543,8 @@
       description = "A keyed call IC from the snapshot";
       tag = Logger::KEYED_CALL_IC_TAG;
       break;
+    case Code::NUMBER_OF_KINDS:
+      break;
   }
   PROFILE(isolate_, CodeCreateEvent(tag, code_object, description));
 }
=======================================
--- /branches/bleeding_edge/src/objects.cc      Tue Jun 25 01:51:49 2013
+++ /branches/bleeding_edge/src/objects.cc      Tue Jun 25 02:34:22 2013
@@ -10353,6 +10353,7 @@
 #define CASE(name) case name: return #name;
     CODE_KIND_LIST(CASE)
 #undef CASE
+    case NUMBER_OF_KINDS: break;
   }
   UNREACHABLE();
   return NULL;
=======================================
--- /branches/bleeding_edge/src/objects.h       Tue Jun 25 02:09:25 2013
+++ /branches/bleeding_edge/src/objects.h       Tue Jun 25 02:34:22 2013
@@ -4467,12 +4467,7 @@
 #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

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to