Home
last modified time | relevance | path

Searched refs:GetElementsKind (Results 1 – 25 of 30) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
Djs-objects-inl.h169 ElementsKind current_kind = object->GetElementsKind(); in EnsureCanContainElements()
223 if (object->GetElementsKind() == HOLEY_SMI_ELEMENTS) { in EnsureCanContainElements()
225 } else if (object->GetElementsKind() == PACKED_SMI_ELEMENTS) { in EnsureCanContainElements()
622 DEF_GETTER(JSObject, GetElementsKind, ElementsKind) { in ACCESSORS()
653 return ElementsAccessor::ForKind(GetElementsKind(cage_base)); in DEF_GETTER()
657 return IsObjectElementsKind(GetElementsKind(cage_base)); in DEF_GETTER()
661 return IsSmiElementsKind(GetElementsKind(cage_base)); in DEF_GETTER()
665 return IsSmiOrObjectElementsKind(GetElementsKind(cage_base)); in DEF_GETTER()
669 return IsDoubleElementsKind(GetElementsKind(cage_base)); in DEF_GETTER()
673 return IsHoleyElementsKind(GetElementsKind(cage_base)); in DEF_GETTER()
[all …]
Djs-array-inl.h53 IsDoubleElementsKind(array->GetElementsKind())) || in SetContent()
55 (IsObjectElementsKind(array->GetElementsKind()) || in SetContent()
56 (IsSmiElementsKind(array->GetElementsKind()) && in SetContent()
Dallocation-site-inl.h99 ElementsKind AllocationSite::GetElementsKind() const { in GetElementsKind() function
219 ElementsKind kind = boilerplate->GetElementsKind(); in DigestTransitionFeedback()
249 ElementsKind kind = site->GetElementsKind(); in DigestTransitionFeedback()
Delements.cc726 DCHECK(IsFastElementsKind(array->GetElementsKind())); in SetLengthImpl()
731 ElementsKind kind = array->GetElementsKind(); in SetLengthImpl()
890 ElementsKind from_kind = object->GetElementsKind(); in GrowCapacityAndConvertImpl()
960 DCHECK_EQ(object->GetElementsKind(), kind()); in GrowCapacity()
1070 ElementsKind original_elements_kind = object->GetElementsKind(); in CollectValuesOrEntriesImpl()
1077 DCHECK_EQ(object->GetElementsKind(), original_elements_kind); in CollectValuesOrEntriesImpl()
1094 if (object->GetElementsKind() != original_elements_kind) break; in CollectValuesOrEntriesImpl()
1730 ElementsKind original_elements_kind = receiver->GetElementsKind(); in IncludesValueImpl()
1737 DCHECK_EQ(receiver->GetElementsKind(), original_elements_kind); in IncludesValueImpl()
1783 if (receiver->GetElementsKind() != DICTIONARY_ELEMENTS) { in IncludesValueImpl()
[all …]
Dallocation-site-scopes-inl.h44 AllocationSite::ShouldTrack(object->GetElementsKind())) { in ShouldCreateMemento()
Dallocation-site.h124 inline ElementsKind GetElementsKind() const;
Djs-array-buffer.cc223 DCHECK(IsTypedArrayOrRabGsabTypedArrayElementsKind(self->GetElementsKind())); in GetBuffer()
379 auto element_byte_size = ElementsKindToByteSize(array.GetElementsKind()); in LengthTrackingGsabBackedTypedArrayLength()
Djs-objects.cc2720 DCHECK_EQ(object->GetElementsKind(), DICTIONARY_ELEMENTS); in SetNormalizedElement()
4064 ElementsKind kind = object.GetElementsKind(); in TestElementsIntegrityLevel()
4478 switch (object.GetElementsKind()) { in HasEnumerableElements()
5171 ElementsKind kind = object->GetElementsKind(isolate); in AddDataElement()
5247 ElementsKind from_kind = object->GetElementsKind(); in TransitionElementsKind()
5305 switch (GetElementsKind()) { in GetFastElementsUsage()
Djs-objects.h355 DECL_GETTER(GetElementsKind, ElementsKind)
Dvalue-serializer.cc711 switch (array->GetElementsKind(cage_base)) { in WriteJSArray()
735 array->GetElementsKind(cage_base) != PACKED_ELEMENTS) { in WriteJSArray()
Dlookup.cc348 ElementsKind kind = holder_obj->GetElementsKind(isolate_); in PrepareForDataProperty()
/third_party/node/deps/v8/src/runtime/
Druntime-array.cc104 ElementsKind to_kind = can_use_type_feedback ? site->GetElementsKind() in RUNTIME_FUNCTION()
129 ElementsKind old_kind = array->GetElementsKind(); in RUNTIME_FUNCTION()
133 if ((old_kind != array->GetElementsKind() || !can_use_type_feedback || in RUNTIME_FUNCTION()
141 if (old_kind != array->GetElementsKind() || !can_inline_array_constructor) { in RUNTIME_FUNCTION()
Druntime-literals.cc164 switch (copy->GetElementsKind(isolate)) { in StructureWalk()
Druntime-object.cc851 ElementsKind elements_kind = lookup_start_object->GetElementsKind(); in RUNTIME_FUNCTION()
/third_party/node/deps/v8/src/builtins/
Dbuiltins-array.cc67 ElementsKind origin_kind = array->GetElementsKind(); in MatchArrayElementsKindToArguments()
107 ElementsKind origin_kind = array->GetElementsKind(); in EnsureJSArrayWithWritableFastElements()
230 if (args->length() == 1 && array->GetElementsKind() != PACKED_ELEMENTS) { in TryFastArrayFill()
622 DCHECK(!IsDictionaryElementsKind(array->GetElementsKind())); in BUILTIN()
845 switch (array->GetElementsKind()) { in EstimateElementCount()
917 ElementsKind kind = object->GetElementsKind(); in CollectElementIndices()
1103 switch (array->GetElementsKind()) { in IterateElements()
1281 GetPackedElementsKind(array->GetElementsKind()); in Slow_ArrayConcat()
1336 switch (array.GetElementsKind()) { in Slow_ArrayConcat()
1707 if (array->GetElementsKind() == ElementsKind::PACKED_SMI_ELEMENTS) { in FastArrayGroupBy()
Dbuiltins-typed-array.cc147 ElementsKind kind = array->GetElementsKind(); in BUILTIN()
/third_party/node/deps/v8/src/compiler/
Dcompilation-dependencies.cc915 : site->GetElementsKind(); in IsValid()
955 holder.GetElementsKind(), index_); in IsValid()
1144 : site.GetElementsKind(); in DependOnElementsKind()
Dheap-refs.h652 ElementsKind GetElementsKind() const;
Djs-create-lowering.cc652 elements_kind = site_ref->GetElementsKind(); in ReduceJSCreateArray()
1131 native_context().GetInitialJSArrayMap(site.GetElementsKind()); in ReduceJSCreateEmptyLiteralArray()
Dheap-refs.cc1418 HEAP_ACCESSOR_C(AllocationSite, ElementsKind, GetElementsKind) in HEAP_ACCESSOR_C()
/third_party/node/deps/v8/src/api/
Dapi-inl.h288 switch (obj.GetElementsKind()) { in CopyAndConvertArrayToCppBuffer()
/third_party/node/deps/v8/src/json/
Djson-stringifier.cc681 switch (object->GetElementsKind(cage_base)) { in SerializeJSArray()
725 object->GetElementsKind(cage_base) != PACKED_ELEMENTS) { in SerializeJSArray()
/third_party/node/deps/v8/src/diagnostics/
Dobjects-debug.cc725 ElementsKind kind = holder.GetElementsKind(); in SloppyArgumentsElementsVerify()
772 if (IsSloppyArgumentsElementsKind(GetElementsKind())) { in JSArgumentsObjectVerify()
1984 switch (GetElementsKind()) { in IncrementSpillStatistics()
/third_party/node/deps/v8/src/web-snapshot/
Dweb-snapshot.cc830 auto elements_kind = array->GetElementsKind(); in DiscoverArray()
1017 auto elements_kind = array->GetElementsKind(); in SerializeArray()
/third_party/node/deps/v8/src/heap/
Dfactory.cc1963 SLOW_DCHECK(clone->GetElementsKind() == source->GetElementsKind()); in CopyJSObjectWithAllocationSite()
2671 NewJSArrayStorage(array->GetElementsKind(), capacity, mode); in NewJSArrayStorage()

12