Home
last modified time | relevance | path

Searched refs:to_kind (Results 1 – 25 of 39) sorted by relevance

12

/external/v8/src/
Delements-kind.cc129 ElementsKind to_kind) { in IsMoreGeneralElementsKindTransition() argument
131 IsFixedTypedArrayElementsKind(to_kind)) { in IsMoreGeneralElementsKindTransition()
134 if (IsFastElementsKind(from_kind) && IsFastTransitionTarget(to_kind)) { in IsMoreGeneralElementsKindTransition()
137 return to_kind != FAST_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition()
139 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
140 to_kind != FAST_HOLEY_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition()
142 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
143 to_kind != FAST_HOLEY_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
144 to_kind != FAST_DOUBLE_ELEMENTS; in IsMoreGeneralElementsKindTransition()
146 return to_kind == FAST_ELEMENTS || in IsMoreGeneralElementsKindTransition()
[all …]
Delements-kind.h217 ElementsKind to_kind) { in IsSimpleMapChangeTransition() argument
218 return (GetHoleyElementsKind(from_kind) == to_kind) || in IsSimpleMapChangeTransition()
220 IsFastObjectElementsKind(to_kind)); in IsSimpleMapChangeTransition()
225 ElementsKind to_kind);
229 ElementsKind to_kind) { in GetMoreGeneralElementsKind() argument
230 if (IsMoreGeneralElementsKindTransition(from_kind, to_kind)) { in GetMoreGeneralElementsKind()
231 return to_kind; in GetMoreGeneralElementsKind()
Delements.cc117 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()
[all …]
Dobjects.cc2278 ElementsKind to_kind, Handle<FixedArrayBase> to_elements) { in PrintElementsTransition() argument
2279 if (from_kind != to_kind) { in PrintElementsTransition()
2282 << ElementsKindToString(to_kind) << "] in "; in PrintElementsTransition()
3784 ElementsKind to_kind = new_elements_kind; in Reconfigure() local
3786 if (from_kind != to_kind && to_kind != DICTIONARY_ELEMENTS && in Reconfigure()
3787 to_kind != SLOW_STRING_WRAPPER_ELEMENTS && in Reconfigure()
3788 to_kind != SLOW_SLOPPY_ARGUMENTS_ELEMENTS && in Reconfigure()
3790 IsMoreGeneralElementsKindTransition(from_kind, to_kind))) { in Reconfigure()
3792 old_map, to_kind, modify_index, store_mode, new_kind, new_attributes, in Reconfigure()
3801 old_map, to_kind, modify_index, store_mode, new_kind, new_attributes, in Reconfigure()
[all …]
Dcode-stubs-hydrogen.cc1453 ElementsKind const to_kind = casted_stub()->to_kind(); in BuildCodeStub() local
1464 IsFastHoleyElementsKind(to_kind)); in BuildCodeStub()
1466 if (AllocationSite::GetMode(from_kind, to_kind) == TRACK_ALLOCATION_SITE) { in BuildCodeStub()
1470 if (!IsSimpleMapChangeTransition(from_kind, to_kind)) { in BuildCodeStub()
1498 BuildGrowElementsCapacity(object, elements, from_kind, to_kind, length, in BuildCodeStub()
1899 casted_stub()->to_kind(), in BuildCodeStub()
1904 casted_stub()->to_kind(), in BuildCodeStub()
Dcode-stubs.h2715 ElementsKind to_kind) in TransitionElementsKindStub() argument
2718 ToKindBits::encode(to_kind)); in TransitionElementsKindStub()
2725 ElementsKind to_kind() const { return ToKindBits::decode(sub_minor_key()); } in to_kind() function
2987 ElementsKind to_kind, bool is_jsarray, in ElementsTransitionAndStoreStub() argument
2991 FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub()
2996 ElementsKind to_kind() const { return ToBits::decode(sub_minor_key()); } in to_kind() function
Dobjects.h2259 ElementsKind to_kind);
2290 ElementsKind to_kind);
2292 ElementsKind to_kind);
2394 ElementsKind to_kind, Handle<FixedArrayBase> to_elements);
5787 ElementsKind to_kind);
5986 ElementsKind to_kind);
8410 ElementsKind to_kind);
/external/v8/src/runtime/
Druntime-array.cc279 ElementsKind to_kind = can_use_type_feedback ? site->GetElementsKind() in ArrayConstructorCommon() local
281 if (holey && !IsFastHoleyElementsKind(to_kind)) { in ArrayConstructorCommon()
282 to_kind = GetHoleyElementsKind(to_kind); in ArrayConstructorCommon()
284 if (!site.is_null()) site->SetElementsKind(to_kind); in ArrayConstructorCommon()
290 if (to_kind != initial_map->elements_kind()) { in ArrayConstructorCommon()
291 initial_map = Map::AsElementsKind(initial_map, to_kind); in ArrayConstructorCommon()
297 if (AllocationSite::GetMode(to_kind) == TRACK_ALLOCATION_SITE) { in ArrayConstructorCommon()
/external/v8/src/crankshaft/x87/
Dlithium-x87.h2124 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-x87.cc4335 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4339 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind()
4357 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoTransitionElementsKind()
/external/v8/src/crankshaft/mips64/
Dlithium-mips64.h2129 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-mips64.cc4377 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4383 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
4398 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoTransitionElementsKind()
/external/v8/src/crankshaft/arm/
Dlithium-arm.h2125 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
/external/v8/src/crankshaft/s390/
Dlithium-s390.h1936 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-s390.cc4408 ElementsKind to_kind = instr->to_kind(); in DoShiftI() local
4415 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoShiftI()
4427 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoShiftI()
/external/v8/src/crankshaft/x64/
Dlithium-x64.h2128 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
/external/v8/src/crankshaft/mips/
Dlithium-mips.h2083 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-mips.cc4146 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4152 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
4167 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoTransitionElementsKind()
/external/v8/src/crankshaft/ppc/
Dlithium-ppc.h2071 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-ppc.cc4472 ElementsKind to_kind = instr->to_kind(); in DoShiftI() local
4479 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoShiftI()
4492 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoShiftI()
/external/v8/src/crankshaft/ia32/
Dlithium-ia32.h2138 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-ia32.cc4010 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4014 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind()
4033 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoTransitionElementsKind()
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc3050 ElementsKind to_kind = transitioned_map().handle()->elements_kind(); in PrintDataTo() local
3054 << ElementsAccessor::ForKind(to_kind)->name() << "]"; in PrintDataTo()
3055 if (IsSimpleMapChangeTransition(from_kind, to_kind)) os << " (simple)"; in PrintDataTo()
/external/v8/src/crankshaft/arm64/
Dlithium-arm64.h2709 ElementsKind to_kind() const { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-arm64.cc5427 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
5431 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
5452 TransitionElementsKindStub stub(isolate(), from_kind, to_kind); in DoTransitionElementsKind()

12