Revision: 23366
Author:   [email protected]
Date:     Mon Aug 25 15:41:09 2014 UTC
Log:      Move kGroupCount out of DependencyGroup enum.

BUG=
[email protected], [email protected]

Review URL: https://codereview.chromium.org/488993004
https://code.google.com/p/v8/source/detail?r=23366

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

=======================================
--- /branches/bleeding_edge/src/objects.cc      Mon Aug 25 11:47:31 2014 UTC
+++ /branches/bleeding_edge/src/objects.cc      Mon Aug 25 15:41:09 2014 UTC
@@ -11672,10 +11672,9 @@
       return "allocation-site-tenuring-changed";
     case kAllocationSiteTransitionChangedGroup:
       return "allocation-site-transition-changed";
-    default:
-      UNREACHABLE();
-      return "?";
   }
+  UNREACHABLE();
+  return "?";
 }


=======================================
--- /branches/bleeding_edge/src/objects.h       Mon Aug 25 15:17:06 2014 UTC
+++ /branches/bleeding_edge/src/objects.h       Mon Aug 25 15:41:09 2014 UTC
@@ -5885,10 +5885,11 @@
     kAllocationSiteTenuringChangedGroup,
     // Group of code that depends on element transition information in
     // AllocationSites not being changed.
-    kAllocationSiteTransitionChangedGroup,
-    kGroupCount = kAllocationSiteTransitionChangedGroup + 1
+    kAllocationSiteTransitionChangedGroup
   };

+  static const int kGroupCount = kAllocationSiteTransitionChangedGroup + 1;
+
   // Array for holding the index of the first code object of each group.
   // The last element stores the total number of code objects.
   class GroupStartIndexes {

--
--
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/d/optout.

Reply via email to