Lines Matching refs:to_kind
133 FixedArrayBase* to_base, ElementsKind to_kind, in CopyObjectToObjectElements() argument
159 DCHECK(IsSmiOrObjectElementsKind(to_kind)); in CopyObjectToObjectElements()
162 (IsObjectElementsKind(from_kind) && IsObjectElementsKind(to_kind)) in CopyObjectToObjectElements()
173 FixedArrayBase* to_base, ElementsKind to_kind, uint32_t to_start, in CopyDictionaryToObjectElements() argument
192 DCHECK(IsSmiOrObjectElementsKind(to_kind)); in CopyDictionaryToObjectElements()
199 WriteBarrierMode write_barrier_mode = GetWriteBarrierMode(to_kind); in CopyDictionaryToObjectElements()
880 ElementsKind to_kind = to_map->elements_kind(); in TransitionElementsKindImpl() local
882 to_kind = GetHoleyElementsKind(to_kind); in TransitionElementsKindImpl()
884 if (from_kind != to_kind) { in TransitionElementsKindImpl()
887 DCHECK(IsFastElementsKind(to_kind)); in TransitionElementsKindImpl()
894 IsDoubleElementsKind(from_kind) == IsDoubleElementsKind(to_kind)) { in TransitionElementsKindImpl()
900 (IsSmiElementsKind(from_kind) && IsDoubleElementsKind(to_kind)) || in TransitionElementsKindImpl()
901 (IsDoubleElementsKind(from_kind) && IsObjectElementsKind(to_kind))); in TransitionElementsKindImpl()
909 stdout, object, from_kind, from_elements, to_kind, in TransitionElementsKindImpl()
937 ElementsKind from_kind, ElementsKind to_kind, uint32_t capacity) { in BasicGrowCapacityAndConvertImpl() argument
942 to_kind = GetHoleyElementsKind(to_kind); in BasicGrowCapacityAndConvertImpl()
944 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); in BasicGrowCapacityAndConvertImpl()
948 JSObject::UpdateAllocationSite(object, to_kind); in BasicGrowCapacityAndConvertImpl()
952 to_kind, elements); in BasicGrowCapacityAndConvertImpl()
2094 ElementsKind to_kind = Subclass::kind(); in AddImpl() local
2096 IsDoubleElementsKind(from_kind) != IsDoubleElementsKind(to_kind) || in AddImpl()
2101 if (IsFastElementsKind(from_kind) && from_kind != to_kind) { in AddImpl()
2102 JSObject::TransitionElementsKind(object, to_kind); in AddImpl()
2105 DCHECK(IsSmiOrObjectElementsKind(to_kind)); in AddImpl()
2666 ElementsKind to_kind = KindTraits::Kind; in CopyElementsImpl() local
2673 to_kind, to_start, copy_size); in CopyElementsImpl()
2678 DCHECK(IsObjectElementsKind(to_kind)); in CopyElementsImpl()
2684 CopyDictionaryToObjectElements(isolate, from, from_start, to, to_kind, in CopyElementsImpl()