Lines Matching refs:elements
32 #include "elements.h"
293 // Because Double -> Object elements transitions allocate HeapObjects
516 raw_length = Smi::FromInt(obj->elements()->length());
535 PrintF("[%s elements length not integer value in ", elements_type);
540 PrintF("[%s elements length not a number in ", elements_type);
580 FixedArrayBase* fixed_array_base = holder->elements();
581 // When objects are first allocated, its elements are Failures.
621 backing_store = holder->elements();
632 backing_store = holder->elements();
637 CheckArrayAbuse(holder, "elements read", key);
642 CheckArrayAbuse(holder, "external elements read", key);
664 backing_store = holder->elements();
687 backing_store = holder->elements();
711 backing_store = holder->elements();
728 array, length, array->elements());
778 from = from_holder->elements();
809 from = holder->elements();
817 // Compute how many elements are not in other.
938 // If more than half the elements won't be used, trim the array.
969 // Request conversion to slow elements.
980 Object* elements = obj->elements();
981 if (elements == heap->empty_fixed_array()) {
985 KindTraits::BackingStore::cast(elements);
1055 FixedArrayBase* elements = holder->elements();
1056 Heap* heap = elements->GetHeap();
1057 Map* map = elements->map();
1066 KindTraits::BackingStore::cast(elements);
1513 // Find last non-deletable element in range of elements to be
1539 // Remove elements that should be deleted.
1553 // Update the number of elements.
1565 FixedArray* backing_store = FixedArray::cast(obj->elements());
1596 FixedArray::cast(obj->elements())->set(1, new_elements);
1738 // Elements of the arguments object in slow mode might be slow aliases.
1815 FixedArray* parameter_map = FixedArray::cast(obj->elements());
1819 // parameter, and revert to normal elements in that case. That
1945 // to slow elements is needed for other reasons.
2016 // Set length and elements on the array.
2023 // Allocate an appropriately typed elements array.