/external/v8/src/ |
D | elements-kind.cc | 124 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 …]
|
D | elements-kind.h | 203 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()
|
D | elements.cc | 111 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 …]
|
D | objects.cc | 2060 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 …]
|
D | code-stubs.h | 2498 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
|
D | code-stubs-hydrogen.cc | 1170 casted_stub()->to_kind(), in BuildCodeStub() 1834 casted_stub()->to_kind(), in BuildCodeStub() 1839 casted_stub()->to_kind(), in BuildCodeStub()
|
D | objects.h | 2267 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/ |
D | runtime-array.cc | 280 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/ |
D | lithium-ia32.h | 2211 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-ia32.cc | 4156 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/ |
D | lithium-x87.h | 2215 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-x87.cc | 4561 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/ |
D | lithium-mips.h | 2180 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-mips.cc | 4223 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/ |
D | lithium-x64.h | 2198 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-x64.cc | 4358 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/ |
D | lithium-arm.h | 2223 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-arm.cc | 4245 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/ |
D | lithium-mips64.h | 2226 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-mips64.cc | 4457 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/ |
D | lithium-ppc.h | 2135 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-ppc.cc | 4516 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/ |
D | lithium-arm64.h | 2827 ElementsKind to_kind() const { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-arm64.cc | 5457 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/ |
D | hydrogen-instructions.cc | 3600 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()
|