DescriptionBuildGrowElementsCapacity bounds check used wrong elements kind.
In a refactoring, HGraphBuilder::BuildGrowElementsCapacity() ended up
using the old_elements_kind instead of new_kind when calculating if a
new capacity for an array exceeds Page::kMaxRegularHeapObjectSize.
Repair, such that the check is correct.
R=hpayer@chromium.org
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=22126
Patch Set 1 #
Messages
Total messages: 3 (0 generated)
|