| Index: src/objects-inl.h
|
| diff --git a/src/objects-inl.h b/src/objects-inl.h
|
| index a37fcd58369c83a7fcb4be93efa62cd8eb658656..ed492d5359f49db4aa0520470a09a6e1f078bc07 100644
|
| --- a/src/objects-inl.h
|
| +++ b/src/objects-inl.h
|
| @@ -2425,6 +2425,9 @@ bool FixedArray::is_the_hole(int index) {
|
| }
|
|
|
|
|
| +void FixedArray::SetValue(uint32_t index, Object* value) { set(index, value); }
|
| +
|
| +
|
| void FixedArray::set(int index, Smi* value) {
|
| DCHECK(map() != GetHeap()->fixed_cow_array_map());
|
| DCHECK(index >= 0 && index < this->length());
|
| @@ -2472,6 +2475,11 @@ Handle<Object> FixedDoubleArray::get(Handle<FixedDoubleArray> array,
|
| }
|
|
|
|
|
| +void FixedDoubleArray::SetValue(uint32_t index, Object* value) {
|
| + set(index, value->Number());
|
| +}
|
| +
|
| +
|
| void FixedDoubleArray::set(int index, double value) {
|
| DCHECK(map() != GetHeap()->fixed_cow_array_map() &&
|
| map() != GetHeap()->fixed_array_map());
|
|
|