| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index c358ee6584525e4415aacce8615efd687acda79e..32feaa8feef9c86d1b0230841200fe237369da9e 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2208,6 +2208,18 @@ bool FixedDoubleArray::is_the_hole(int index) {
|
| }
|
|
|
|
|
| +double* FixedDoubleArray::data_start() {
|
| + return reinterpret_cast<double*>(FIELD_ADDR(this, kHeaderSize));
|
| +}
|
| +
|
| +
|
| +void FixedDoubleArray::FillWithHoles(int from, int to) {
|
| + for (int i = from; i < to; i++) {
|
| + set_the_hole(i);
|
| + }
|
| +}
|
| +
|
| +
|
| SMI_ACCESSORS(
|
| ConstantPoolArray, first_code_ptr_index, kFirstCodePointerIndexOffset)
|
| SMI_ACCESSORS(
|
| @@ -2401,8 +2413,10 @@ void FixedArray::set_the_hole(int index) {
|
| }
|
|
|
|
|
| -double* FixedDoubleArray::data_start() {
|
| - return reinterpret_cast<double*>(FIELD_ADDR(this, kHeaderSize));
|
| +void FixedArray::FillWithHoles(int from, int to) {
|
| + for (int i = from; i < to; i++) {
|
| + set_the_hole(i);
|
| + }
|
| }
|
|
|
|
|
|
|