Home | History | Annotate | Download | only in src

Lines Matching refs:elements

1331         // Subsequent elements in the list.
1348 // Terminate the list if there is one or more elements.
1371 // Subsequent elements in the list.
1400 // Terminate the list if there is one or more elements.
2358 // Don't use Smi-only elements optimizations for objects with the neander
2360 // bottleneck to trap the Smi-only -> fast elements transition, and there
2369 Object* elements;
2371 if (!maybe_elements->ToObject(&elements)) return false;
2373 FixedArray::cast(elements)->set(0, Smi::FromInt(0));
2374 JSObject::cast(obj)->set_elements(FixedArray::cast(elements));
3749 // to a number (e.g. Smi::FromInt(0)) and the elements initialized to a
3881 FixedArrayBase* elements,
3888 array->set_elements(elements);
3889 array->set_length(Smi::FromInt(elements->length()));
4055 FixedArrayBase* elements = FixedArrayBase::cast(source->elements());
4057 // Update elements if necessary.
4058 if (elements->length() > 0) {
4061 if (elements->map() == fixed_cow_array_map()) {
4062 maybe_elem = FixedArray::cast(elements);
4064 maybe_elem = CopyFixedDoubleArray(FixedDoubleArray::cast(elements));
4066 maybe_elem = CopyFixedArray(FixedArray::cast(elements));
4626 FixedDoubleArray* elements =
4629 elements->set_map_no_write_barrier(fixed_double_array_map());
4630 elements->set_length(length);
4631 return elements;
4643 FixedDoubleArray* elements =
4647 elements->set_the_hole(i);
4650 elements->set_map_no_write_barrier(fixed_double_array_map());
4651 elements->set_length(length);
4652 return elements;