Lines Matching refs:to_kind

4416     const ElementsKind to_kind = PACKED_ELEMENTS;
4418 to_kind, capacity, allocation_flags, var_target_map.value());
4441 FillFixedArrayWithValue(to_kind, to_elements, count, capacity,
4443 CopyElements(to_kind, to_elements, IntPtrConstant(0), source,
4447 CopyFixedArrayElements(from_kind, source, to_kind, to_elements, first,
4998 ElementsKind to_kind, TNode<FixedArrayBase> to_array,
5005 CSA_SLOW_DCHECK(this, IsFixedArrayWithKindOrEmpty(to_array, to_kind));
5016 DCHECK(!IsTypedArrayElementsKind(to_kind));
5020 bool to_double_elements = IsDoubleElementsKind(to_kind);
5022 IsDoubleElementsKind(from_kind) && IsObjectElementsKind(to_kind);
5025 (barrier_mode == UPDATE_WRITE_BARRIER && IsObjectElementsKind(to_kind));
5029 IsDoubleElementsKind(from_kind) == IsDoubleElementsKind(to_kind));
5037 DCHECK(IsObjectElementsKind(to_kind));
5041 FillFixedArrayWithValue(to_kind, to_array, IntPtrOrSmiConstant<TIndex>(0),
5043 FillFixedArrayWithValue(to_kind, to_array, element_count, capacity,
5048 FillFixedArrayWithValue(to_kind, to_array, IntPtrOrSmiConstant<TIndex>(0),
5051 FillFixedArrayWithValue(to_kind, to_array, element_count, capacity,
5069 ElementOffsetFromIndex(element_count, to_kind, first_element_offset);
5110 } else if (IsDoubleElementsKind(to_kind)) {
5120 from_array, var_from_offset.value(), from_kind, to_kind, if_hole);
5125 from_array, var_from_offset.value(), from_kind, to_kind, if_hole);
5159 // This case happens only when IsObjectElementsKind(to_kind).
5249 ElementsKind to_kind, Label* if_hole) {
5251 DCHECK(!IsDoubleElementsKind(to_kind));
5268 ElementsKind to_kind, Label* if_hole) {
5270 DCHECK(IsDoubleElementsKind(to_kind));
5342 ElementsKind from_kind, ElementsKind to_kind, TNode<TIndex> capacity,
5352 int max_size = FixedArrayBase::GetMaxLengthForNewSpaceAllocation(to_kind);
5359 AllocateFixedArray(to_kind, new_capacity);
5364 CopyFixedArrayElements(from_kind, elements, to_kind, new_elements, capacity,
11472 ElementsKind to_kind,
11474 DCHECK(!IsHoleyElementsKind(from_kind) || IsHoleyElementsKind(to_kind));
11475 if (AllocationSite::ShouldTrack(from_kind, to_kind)) {
11479 if (!IsSimpleMapChangeTransition(from_kind, to_kind)) {
11499 GrowElementsCapacity(object, elements, from_kind, to_kind, array_length,