Chromium Code Reviews| Index: src/objects.h |
| diff --git a/src/objects.h b/src/objects.h |
| index d00941675789dbee0d2b7b132c5f051f34a741bd..ba1496d7409925d579ffcac00ebdebea3188cb86 100644 |
| --- a/src/objects.h |
| +++ b/src/objects.h |
| @@ -5956,10 +5956,11 @@ class DependentCode: public FixedArray { |
| kAllocationSiteTenuringChangedGroup, |
| // Group of code that depends on element transition information in |
| // AllocationSites not being changed. |
| - kAllocationSiteTransitionChangedGroup, |
| - kGroupCount = kAllocationSiteTransitionChangedGroup + 1 |
| + kAllocationSiteTransitionChangedGroup |
| }; |
| + enum { kGroupCount = kAllocationSiteTransitionChangedGroup + 1 }; |
|
Yang
2014/08/25 12:12:43
does this have to be an enum though? Can it be sim
Vyacheslav Egorov (Google)
2014/08/25 12:16:51
Fixed.
(I became accustomed to declaring constant
|
| + |
| // 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 { |