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
This commit is contained in:
parent
983aa69aa1
commit
f42f4b6490
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user