/external/v8/src/ |
D | elements-kind.cc | 129 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 …]
|
D | elements-kind.h | 217 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()
|
D | elements.cc | 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() [all …]
|
D | objects.cc | 2278 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 …]
|
D | code-stubs-hydrogen.cc | 1453 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()
|
D | code-stubs.h | 2715 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
|
D | objects.h | 2259 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/ |
D | runtime-array.cc | 279 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/ |
D | lithium-x87.h | 2124 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-x87.cc | 4335 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/ |
D | lithium-mips64.h | 2129 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-mips64.cc | 4377 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/ |
D | lithium-arm.h | 2125 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
/external/v8/src/crankshaft/s390/ |
D | lithium-s390.h | 1936 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-s390.cc | 4408 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/ |
D | lithium-x64.h | 2128 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
/external/v8/src/crankshaft/mips/ |
D | lithium-mips.h | 2083 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-mips.cc | 4146 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/ |
D | lithium-ppc.h | 2071 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-ppc.cc | 4472 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/ |
D | lithium-ia32.h | 2138 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-ia32.cc | 4010 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/ |
D | hydrogen-instructions.cc | 3050 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/ |
D | lithium-arm64.h | 2709 ElementsKind to_kind() const { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-arm64.cc | 5427 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()
|