Lines Matching refs:to_kind
117 FixedArrayBase* to_base, ElementsKind to_kind, in CopyObjectToObjectElements() argument
144 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyObjectToObjectElements()
147 (IsFastObjectElementsKind(from_kind) && IsFastObjectElementsKind(to_kind)) in CopyObjectToObjectElements()
159 ElementsKind to_kind, uint32_t to_start, int raw_copy_size) { in CopyDictionaryToObjectElements() argument
178 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyDictionaryToObjectElements()
185 WriteBarrierMode write_barrier_mode = IsFastObjectElementsKind(to_kind) in CopyDictionaryToObjectElements()
808 ElementsKind from_kind, ElementsKind to_kind, uint32_t capacity) { in BasicGrowCapacityAndConvertImpl() argument
812 if (IsHoleyElementsKind(from_kind)) to_kind = GetHoleyElementsKind(to_kind); in BasicGrowCapacityAndConvertImpl()
813 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); in BasicGrowCapacityAndConvertImpl()
817 JSObject::UpdateAllocationSite(object, to_kind); in BasicGrowCapacityAndConvertImpl()
821 to_kind, elements); in BasicGrowCapacityAndConvertImpl()
1519 ElementsKind to_kind = Subclass::kind(); in AddImpl() local
1522 IsFastDoubleElementsKind(to_kind) || in AddImpl()
1527 if (IsFastElementsKind(from_kind) && from_kind != to_kind) { in AddImpl()
1528 JSObject::TransitionElementsKind(object, to_kind); in AddImpl()
1531 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in AddImpl()
1902 ElementsKind to_kind = KindTraits::Kind; in CopyElementsImpl() local
1908 CopyObjectToObjectElements(from, from_kind, from_start, to, to_kind, in CopyElementsImpl()
1914 DCHECK(IsFastObjectElementsKind(to_kind)); in CopyElementsImpl()
1919 CopyDictionaryToObjectElements(from, from_start, to, to_kind, to_start, in CopyElementsImpl()