| Index: src/heap/heap.cc
|
| diff --git a/src/heap/heap.cc b/src/heap/heap.cc
|
| index bcece7ad83c2ad3e3fa75a4a81629bb99bacfabf..9cf256724068bfabdaa80835b170548b6c6fbd8e 100644
|
| --- a/src/heap/heap.cc
|
| +++ b/src/heap/heap.cc
|
| @@ -4744,7 +4744,7 @@
|
| // We rely on being able to allocate new arrays in paged spaces.
|
| DCHECK(Page::kMaxRegularHeapObjectSize >=
|
| (JSArray::kSize +
|
| - FixedArray::SizeFor(JSArray::kInitialMaxFastElementArray) +
|
| + FixedArray::SizeFor(JSObject::kInitialMaxFastElementArray) +
|
| AllocationMemento::kSize));
|
|
|
| code_range_size_ = code_range_size * MB;
|
|
|