Commit f42f4b64 authored by vegorov@chromium.org's avatar vegorov@chromium.org

Move kGroupCount out of DependencyGroup enum.

BUG=
R=svenpanne@chromium.org, yangguo@chromium.org

Review URL: https://codereview.chromium.org/488993004

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23366 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 983aa69a
......@@ -11672,10 +11672,9 @@ const char* DependentCode::DependencyGroupName(DependencyGroup group) {
return "allocation-site-tenuring-changed";
case kAllocationSiteTransitionChangedGroup:
return "allocation-site-transition-changed";
default:
UNREACHABLE();
return "?";
}
UNREACHABLE();
return "?";
}
......
......@@ -5885,10 +5885,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
};
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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment