Home
last modified time | relevance | path

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

12

/external/v8/src/
Delements-kind.cc124 ElementsKind to_kind) { in IsMoreGeneralElementsKindTransition() argument
126 IsFixedTypedArrayElementsKind(to_kind)) { in IsMoreGeneralElementsKindTransition()
129 if (IsFastElementsKind(from_kind) && IsFastTransitionTarget(to_kind)) { in IsMoreGeneralElementsKindTransition()
132 return to_kind != FAST_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition()
134 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
135 to_kind != FAST_HOLEY_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition()
137 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
138 to_kind != FAST_HOLEY_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition()
139 to_kind != FAST_DOUBLE_ELEMENTS; in IsMoreGeneralElementsKindTransition()
141 return to_kind == FAST_ELEMENTS || in IsMoreGeneralElementsKindTransition()
[all …]
Delements-kind.h203 ElementsKind to_kind) { in IsSimpleMapChangeTransition() argument
204 return (GetHoleyElementsKind(from_kind) == to_kind) || in IsSimpleMapChangeTransition()
206 IsFastObjectElementsKind(to_kind)); in IsSimpleMapChangeTransition()
211 ElementsKind to_kind);
215 ElementsKind to_kind) { in GetMoreGeneralElementsKind() argument
216 if (IsMoreGeneralElementsKindTransition(from_kind, to_kind)) { in GetMoreGeneralElementsKind()
217 return to_kind; in GetMoreGeneralElementsKind()
Delements.cc111 FixedArrayBase* to_base, ElementsKind to_kind, in CopyObjectToObjectElements() argument
138 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyObjectToObjectElements()
141 (IsFastObjectElementsKind(from_kind) && IsFastObjectElementsKind(to_kind)) in CopyObjectToObjectElements()
153 ElementsKind to_kind, uint32_t to_start, int raw_copy_size) { in CopyDictionaryToObjectElements() argument
172 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyDictionaryToObjectElements()
179 WriteBarrierMode write_barrier_mode = IsFastObjectElementsKind(to_kind) in CopyDictionaryToObjectElements()
787 ElementsKind to_kind = kind(); in GrowCapacityAndConvertImpl() local
788 if (IsHoleyElementsKind(from_kind)) to_kind = GetHoleyElementsKind(to_kind); in GrowCapacityAndConvertImpl()
789 Handle<Map> new_map = JSObject::GetElementsTransitionMap(object, to_kind); in GrowCapacityAndConvertImpl()
793 JSObject::UpdateAllocationSite(object, to_kind); in GrowCapacityAndConvertImpl()
[all …]
Dobjects.cc2060 ElementsKind to_kind, Handle<FixedArrayBase> to_elements) { in PrintElementsTransition() argument
2061 if (from_kind != to_kind) { in PrintElementsTransition()
2064 << ElementsKindToString(to_kind) << "] in "; in PrintElementsTransition()
3435 ElementsKind to_kind = old_map->elements_kind(); in ReconfigureProperty() local
3437 if (from_kind != to_kind && to_kind != DICTIONARY_ELEMENTS && in ReconfigureProperty()
3438 to_kind != SLOW_SLOPPY_ARGUMENTS_ELEMENTS && in ReconfigureProperty()
3440 IsMoreGeneralElementsKindTransition(from_kind, to_kind))) { in ReconfigureProperty()
3465 if (from_kind != to_kind) { in ReconfigureProperty()
3466 root_map = Map::AsElementsKind(root_map, to_kind); in ReconfigureProperty()
3913 ElementsKind to_kind = old_map->elements_kind(); in TryUpdate() local
[all …]
Dcode-stubs.h2498 ElementsKind to_kind, in TransitionElementsKindStub() argument
2501 ToKindBits::encode(to_kind) | in TransitionElementsKindStub()
2509 ElementsKind to_kind() const { return ToKindBits::decode(sub_minor_key()); } in to_kind() function
2827 ElementsKind to_kind, bool is_jsarray, in ElementsTransitionAndStoreStub() argument
2831 FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub()
2836 ElementsKind to_kind() const { return ToBits::decode(sub_minor_key()); } in to_kind() function
Dcode-stubs-hydrogen.cc1170 casted_stub()->to_kind(), in BuildCodeStub()
1834 casted_stub()->to_kind(), in BuildCodeStub()
1839 casted_stub()->to_kind(), in BuildCodeStub()
Dobjects.h2267 ElementsKind to_kind);
2316 ElementsKind to_kind);
2318 ElementsKind to_kind);
2421 ElementsKind to_kind, Handle<FixedArrayBase> to_elements);
5613 ElementsKind to_kind);
5808 ElementsKind to_kind);
8209 ElementsKind to_kind);
/external/v8/src/runtime/
Druntime-array.cc280 ElementsKind to_kind = can_use_type_feedback ? site->GetElementsKind() in ArrayConstructorCommon() local
282 if (holey && !IsFastHoleyElementsKind(to_kind)) { in ArrayConstructorCommon()
283 to_kind = GetHoleyElementsKind(to_kind); in ArrayConstructorCommon()
285 if (!site.is_null()) site->SetElementsKind(to_kind); in ArrayConstructorCommon()
291 if (to_kind != initial_map->elements_kind()) { in ArrayConstructorCommon()
292 initial_map = Map::AsElementsKind(initial_map, to_kind); in ArrayConstructorCommon()
298 if (AllocationSite::GetMode(to_kind) == TRACK_ALLOCATION_SITE) { in ArrayConstructorCommon()
/external/v8/src/crankshaft/ia32/
Dlithium-ia32.h2211 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-ia32.cc4156 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4160 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind()
4180 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/x87/
Dlithium-x87.h2215 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-x87.cc4561 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4565 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind()
4584 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/mips/
Dlithium-mips.h2180 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-mips.cc4223 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4229 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
4245 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/x64/
Dlithium-x64.h2198 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-x64.cc4358 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4363 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
4376 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/arm/
Dlithium-arm.h2223 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-arm.cc4245 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4252 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
4268 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/mips64/
Dlithium-mips64.h2226 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-mips64.cc4457 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
4463 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
4479 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/ppc/
Dlithium-ppc.h2135 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-ppc.cc4516 ElementsKind to_kind = instr->to_kind(); in DoShiftI() local
4523 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoShiftI()
4537 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoShiftI()
/external/v8/src/crankshaft/arm64/
Dlithium-arm64.h2827 ElementsKind to_kind() const { return hydrogen()->to_kind(); } in to_kind() function
Dlithium-codegen-arm64.cc5457 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local
5461 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind()
5483 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
/external/v8/src/crankshaft/
Dhydrogen-instructions.cc3600 ElementsKind to_kind = transitioned_map().handle()->elements_kind(); in PrintDataTo() local
3604 << ElementsAccessor::ForKind(to_kind)->name() << "]"; in PrintDataTo()
3605 if (IsSimpleMapChangeTransition(from_kind, to_kind)) os << " (simple)"; in PrintDataTo()

12