/external/v8/src/ |
D | elements-kind.cc | 158 ElementsKind to_kind) { in IsMoreGeneralElementsKindTransition() argument 160 IsTypedArrayElementsKind(to_kind)) { in IsMoreGeneralElementsKindTransition() 164 return to_kind == EXTERNAL_##TYPE##_ELEMENTS; in IsMoreGeneralElementsKindTransition() 172 if (IsFastElementsKind(from_kind) && IsFastTransitionTarget(to_kind)) { in IsMoreGeneralElementsKindTransition() 175 return to_kind != FAST_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition() 177 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition() 178 to_kind != FAST_HOLEY_SMI_ELEMENTS; in IsMoreGeneralElementsKindTransition() 180 return to_kind != FAST_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition() 181 to_kind != FAST_HOLEY_SMI_ELEMENTS && in IsMoreGeneralElementsKindTransition() 182 to_kind != FAST_DOUBLE_ELEMENTS; in IsMoreGeneralElementsKindTransition() [all …]
|
D | elements-kind.h | 225 ElementsKind to_kind) { in IsSimpleMapChangeTransition() argument 226 return (GetHoleyElementsKind(from_kind) == to_kind) || in IsSimpleMapChangeTransition() 228 IsFastObjectElementsKind(to_kind)); in IsSimpleMapChangeTransition() 233 ElementsKind to_kind);
|
D | elements.cc | 154 ElementsKind to_kind, uint32_t to_start, in CopyObjectToObjectElements() argument 181 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyObjectToObjectElements() 188 IsFastObjectElementsKind(to_kind)) { in CopyObjectToObjectElements() 202 ElementsKind to_kind, uint32_t to_start, int raw_copy_size) { in CopyDictionaryToObjectElements() argument 222 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyDictionaryToObjectElements() 239 if (IsFastObjectElementsKind(to_kind)) { in CopyDictionaryToObjectElements() 253 ElementsKind to_kind, in CopyDoubleToObjectElements() argument 256 DCHECK(IsFastSmiOrObjectElementsKind(to_kind)); in CopyDoubleToObjectElements() 284 if (IsFastSmiElementsKind(to_kind)) { in CopyDoubleToObjectElements() 287 DCHECK(IsFastObjectElementsKind(to_kind)); in CopyDoubleToObjectElements() [all …]
|
D | objects.cc | 1286 ElementsKind to_kind, Handle<FixedArrayBase> to_elements) { in PrintElementsTransition() argument 1287 if (from_kind != to_kind) { in PrintElementsTransition() 1290 << ElementsKindToString(to_kind) << "] in "; in PrintElementsTransition() 3224 static Map* FindClosestElementsTransition(Map* map, ElementsKind to_kind) { in FindClosestElementsTransition() argument 3227 IsFastElementsKind(to_kind) || IsExternalArrayElementsKind(to_kind) in FindClosestElementsTransition() 3228 ? to_kind in FindClosestElementsTransition() 3235 if (IsExternalArrayElementsKind(to_kind) && in FindClosestElementsTransition() 3239 if (next_map->elements_kind() == to_kind) return next_map; in FindClosestElementsTransition() 3251 if (to_kind != kind && current_map->HasElementsTransition()) { in FindClosestElementsTransition() 3252 DCHECK(to_kind == DICTIONARY_ELEMENTS); in FindClosestElementsTransition() [all …]
|
D | code-stubs.h | 1988 ElementsKind to_kind, in TransitionElementsKindStub() argument 1991 ToKindBits::encode(to_kind) | in TransitionElementsKindStub() 1999 ElementsKind to_kind() const { return ToKindBits::decode(sub_minor_key()); } in to_kind() function 2290 ElementsKind to_kind, bool is_jsarray, in ElementsTransitionAndStoreStub() argument 2293 set_sub_minor_key(FromBits::encode(from_kind) | ToBits::encode(to_kind) | in ElementsTransitionAndStoreStub() 2299 ElementsKind to_kind() const { return ToBits::decode(sub_minor_key()); } in to_kind() function
|
D | code-stubs-hydrogen.cc | 797 casted_stub()->to_kind(), in BuildCodeStub() 1278 casted_stub()->to_kind(), in BuildCodeStub() 1283 casted_stub()->to_kind(), in BuildCodeStub()
|
D | objects.h | 2025 ElementsKind to_kind); 2027 ElementsKind to_kind); 2121 ElementsKind to_kind, Handle<FixedArrayBase> to_elements); 2229 ElementsKind to_kind); 5775 ElementsKind to_kind); 6020 ElementsKind to_kind); 6313 ElementsKind to_kind); 8232 ElementsKind to_kind);
|
D | runtime.cc | 331 ElementsKind to_kind, in TransitionElements() argument 340 if (Map::IsValidElementsTransition(from_kind, to_kind)) { in TransitionElements() 341 JSObject::TransitionElementsKind(Handle<JSObject>::cast(object), to_kind); in TransitionElements() 15146 ElementsKind to_kind = site->GetElementsKind(); in ArrayConstructorCommon() local 15147 if (holey && !IsFastHoleyElementsKind(to_kind)) { in ArrayConstructorCommon() 15148 to_kind = GetHoleyElementsKind(to_kind); in ArrayConstructorCommon() 15150 site->SetElementsKind(to_kind); in ArrayConstructorCommon() 15157 if (to_kind != initial_map->elements_kind()) { in ArrayConstructorCommon() 15158 initial_map = Map::AsElementsKind(initial_map, to_kind); in ArrayConstructorCommon() 15164 if (AllocationSite::GetMode(to_kind) == TRACK_ALLOCATION_SITE) { in ArrayConstructorCommon()
|
D | hydrogen-instructions.cc | 3583 ElementsKind to_kind = transitioned_map().handle()->elements_kind(); in PrintDataTo() local 3587 << ElementsAccessor::ForKind(to_kind)->name() << "]"; in PrintDataTo() 3588 if (IsSimpleMapChangeTransition(from_kind, to_kind)) os << " (simple)"; in PrintDataTo()
|
D | hydrogen.cc | 1397 ElementsKind to_kind, in BuildTransitionElementsKind() argument 1400 IsFastHoleyElementsKind(to_kind)); in BuildTransitionElementsKind() 1402 if (AllocationSite::GetMode(from_kind, to_kind) == TRACK_ALLOCATION_SITE) { in BuildTransitionElementsKind() 1406 if (!IsSimpleMapChangeTransition(from_kind, to_kind)) { in BuildTransitionElementsKind() 1425 BuildGrowElementsCapacity(object, elements, from_kind, to_kind, in BuildTransitionElementsKind()
|
/external/v8/src/mips64/ |
D | lithium-mips64.h | 2269 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-mips64.cc | 4492 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 4498 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4514 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
D | lithium-mips64.cc | 2264 if (IsSimpleMapChangeTransition(instr->from_kind(), instr->to_kind())) { in DoTransitionElementsKind()
|
/external/v8/src/ia32/ |
D | lithium-ia32.h | 2332 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-ia32.cc | 4299 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 4303 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind() 4323 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/mips/ |
D | lithium-mips.h | 2285 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-mips.cc | 4428 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 4434 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4450 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/x64/ |
D | lithium-x64.h | 2314 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-x64.cc | 4494 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 4499 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4512 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/arm/ |
D | lithium-arm.h | 2327 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-arm.cc | 4471 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 4478 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 4494 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/x87/ |
D | lithium-x87.h | 2338 ElementsKind to_kind() { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-x87.cc | 4741 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 4745 IsSimpleMapChangeTransition(from_kind, to_kind); in DoTransitionElementsKind() 4764 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|
/external/v8/src/arm64/ |
D | lithium-arm64.h | 2926 ElementsKind to_kind() const { return hydrogen()->to_kind(); } in to_kind() function
|
D | lithium-codegen-arm64.cc | 5735 ElementsKind to_kind = instr->to_kind(); in DoTransitionElementsKind() local 5739 if (IsSimpleMapChangeTransition(from_kind, to_kind)) { in DoTransitionElementsKind() 5761 TransitionElementsKindStub stub(isolate(), from_kind, to_kind, is_js_array); in DoTransitionElementsKind()
|