/external/v8/src/ic/ |
D | ic-compiler.cc | 15 Handle<Map> receiver_map, ExtraICState extra_ic_state) { in ComputeKeyedLoadMonomorphicHandler() argument 17 Isolate* isolate = receiver_map->GetIsolate(); in ComputeKeyedLoadMonomorphicHandler() 18 bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; in ComputeKeyedLoadMonomorphicHandler() 19 ElementsKind elements_kind = receiver_map->elements_kind(); in ComputeKeyedLoadMonomorphicHandler() 25 *receiver_map == isolate->get_initial_js_array_map(elements_kind); in ComputeKeyedLoadMonomorphicHandler() 27 if (receiver_map->has_indexed_interceptor()) { in ComputeKeyedLoadMonomorphicHandler() 30 } else if (receiver_map->IsStringMap()) { in ComputeKeyedLoadMonomorphicHandler() 33 } else if (receiver_map->has_sloppy_arguments_elements()) { in ComputeKeyedLoadMonomorphicHandler() 36 } else if (receiver_map->has_fast_elements() || in ComputeKeyedLoadMonomorphicHandler() 37 receiver_map->has_fixed_typed_array_elements()) { in ComputeKeyedLoadMonomorphicHandler() [all …]
|
D | handler-compiler.cc | 28 Handle<Name> name, Handle<Map> receiver_map) { in ComputeLoadNonexistent() argument 30 if (receiver_map->prototype()->IsNull(isolate)) { in ComputeLoadNonexistent() 38 IC::GetHandlerCacheHolder(receiver_map, false, isolate, &flag); in ComputeLoadNonexistent() 46 receiver_map->is_dictionary_map() in ComputeLoadNonexistent() 50 Handle<JSObject> last(JSObject::cast(receiver_map->prototype())); in ComputeLoadNonexistent() 70 NamedLoadHandlerCompiler compiler(isolate, receiver_map, last, flag); in ComputeLoadNonexistent() 316 Handle<Map> receiver_map = map(); in CompileLoadInterceptor() local 319 receiver_map, property_holder); in CompileLoadInterceptor() 588 Handle<Map> receiver_map = receiver_maps->at(i); in CompileElementHandlers() local 591 if (receiver_map->IsStringMap()) { in CompileElementHandlers() [all …]
|
D | ic-inl.h | 96 Handle<Map> IC::GetHandlerCacheHolder(Handle<Map> receiver_map, in GetHandlerCacheHolder() argument 101 return receiver_map; in GetHandlerCacheHolder() 104 if (Map::GetConstructorFunction(receiver_map, isolate->native_context()) in GetHandlerCacheHolder() 109 *flag = receiver_map->is_dictionary_map() in GetHandlerCacheHolder() 113 return handle(JSObject::cast(receiver_map->prototype())->map()); in GetHandlerCacheHolder()
|
D | ic-compiler.h | 18 Handle<Map> receiver_map, ExtraICState extra_ic_state); 21 Handle<Map> receiver_map, KeyedAccessStoreMode store_mode); 39 Handle<Map> receiver_map, KeyedAccessStoreMode store_mode);
|
D | ic.cc | 124 if (!receiver_map().is_null()) { in TraceIC() 125 map = reinterpret_cast<void*>(*receiver_map()); in TraceIC() 276 maybe_handler_ = nexus()->FindHandlerForMap(receiver_map()); in ShouldRecomputeHandler() 288 if (!receiver_map()->IsJSObjectMap()) return false; in ShouldRecomputeHandler() 294 receiver_map()->elements_kind()); in ShouldRecomputeHandler() 693 Handle<Map> map = receiver_map(); in UpdatePolymorphicIC() 732 ConfigureVectorState(name, receiver_map(), code); in UpdatePolymorphicIC() 753 ConfigureVectorState(name, receiver_map(), handler); in UpdateMonomorphicIC() 808 UpdateMegamorphicCache(*receiver_map(), *name, *code); in PatchCache() 860 bool IsCompatibleReceiver(LookupIterator* lookup, Handle<Map> receiver_map) { in IsCompatibleReceiver() argument [all …]
|
D | call-optimization.h | 41 Handle<Map> receiver_map, HolderLookup* holder_lookup, 49 bool IsCompatibleReceiverMap(Handle<Map> receiver_map,
|
/external/v8/src/ |
D | prototype.h | 56 explicit PrototypeIterator(Map* receiver_map) in PrototypeIterator() argument 57 : object_(receiver_map->prototype()), in PrototypeIterator() 58 isolate_(receiver_map->GetIsolate()), in PrototypeIterator() 63 explicit PrototypeIterator(Handle<Map> receiver_map) in PrototypeIterator() argument 65 handle_(handle(receiver_map->prototype(), receiver_map->GetIsolate())), in PrototypeIterator() 66 isolate_(receiver_map->GetIsolate()), in PrototypeIterator()
|
D | type-feedback-vector.cc | 678 void LoadICNexus::ConfigureMonomorphic(Handle<Map> receiver_map, in ConfigureMonomorphic() argument 680 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic() 705 Handle<Map> receiver_map, in ConfigureMonomorphic() argument 707 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic() 720 void StoreICNexus::ConfigureMonomorphic(Handle<Map> receiver_map, in ConfigureMonomorphic() argument 722 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic() 729 Handle<Map> receiver_map, in ConfigureMonomorphic() argument 731 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic()
|
/external/v8/src/compiler/ |
D | access-info.cc | 200 for (Handle<Map> receiver_map : receiver_maps) { in ComputeElementAccessInfos() 203 if (!ComputeElementAccessInfo(receiver_map, access_mode, &access_info)) { in ComputeElementAccessInfos() 209 if (transition.second.is_identical_to(receiver_map)) { in ComputeElementAccessInfos() 228 Handle<Map> receiver_map = map; in ComputePropertyAccessInfo() local 256 return LookupTransition(receiver_map, name, holder, access_info); in ComputePropertyAccessInfo() 261 Type::Class(receiver_map, zone()), in ComputePropertyAccessInfo() 297 Type::Class(receiver_map, zone()), field_index, field_type, holder); in ComputePropertyAccessInfo() 329 return LookupTransition(receiver_map, name, holder, access_info); in ComputePropertyAccessInfo() 335 Type::Class(receiver_map, zone()), holder); in ComputePropertyAccessInfo()
|
D | js-native-context-specialization.cc | 143 Node* receiver_map = effect = in ReduceNamedAccess() local 182 receiver_map, jsgraph()->Constant(map)); in ReduceNamedAccess() 545 Node* receiver_map = effect = in ReduceElementAccess() local 573 receiver_map, jsgraph()->Constant(map)); in ReduceElementAccess() 607 simplified()->ReferenceEqual(Type::Any()), receiver_map, in ReduceElementAccess() 984 Handle<Map> receiver_map; in ExtractReceiverMaps() local 985 if (InferReceiverMap(receiver, effect).ToHandle(&receiver_map)) { in ExtractReceiverMaps() 987 receiver_maps->Add(receiver_map); in ExtractReceiverMaps() 993 if (InferReceiverRootMap(receiver).ToHandle(&receiver_map)) { in ExtractReceiverMaps() 995 if (receiver_maps->at(i)->FindRootMap() != *receiver_map) { in ExtractReceiverMaps()
|
/external/v8/src/ic/ppc/ |
D | ic-ppc.cc | 473 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 483 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 523 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 580 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 584 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 591 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 594 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 603 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 606 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 631 Register receiver_map = r6; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-ppc.cc | 239 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 266 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 429 Handle<Map> receiver_map = map(); in CheckPrototypes() local 437 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 452 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 462 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 471 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 476 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/mips64/ |
D | ic-mips64.cc | 451 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 462 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 505 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 565 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 569 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 576 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 579 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 588 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 591 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 614 Register receiver_map = a3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-mips64.cc | 233 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 260 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 420 Handle<Map> receiver_map = map(); in CheckPrototypes() local 428 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 443 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 453 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 463 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 468 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/s390/ |
D | ic-s390.cc | 457 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 467 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 508 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 567 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 571 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 578 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 581 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 590 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 593 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 617 Register receiver_map = r5; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-s390.cc | 224 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 251 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 403 Handle<Map> receiver_map = map(); in CheckPrototypes() local 411 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 426 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 436 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 445 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 450 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/arm64/ |
D | ic-arm64.cc | 468 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 470 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 502 __ CheckFastObjectElements(receiver_map, x10, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 563 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, x10, x11, slow); in KeyedStoreGenerateMegamorphicHelper() 567 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 574 receiver_map, x10, x11, slow); in KeyedStoreGenerateMegamorphicHelper() 578 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 588 receiver_map, x10, x11, slow); in KeyedStoreGenerateMegamorphicHelper() 591 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 617 Register receiver_map = x3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-arm64.cc | 147 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 178 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 465 Handle<Map> receiver_map = map(); in CheckPrototypes() local 472 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 487 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 497 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 507 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 513 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/arm/ |
D | ic-arm.cc | 463 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 473 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 511 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 567 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 571 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 578 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 581 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 590 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 593 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 618 Register receiver_map = r3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-arm.cc | 244 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 271 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 434 Handle<Map> receiver_map = map(); in CheckPrototypes() local 442 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 457 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 467 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 477 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 482 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/mips/ |
D | ic-mips.cc | 452 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 464 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 503 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 559 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 563 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 570 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 573 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 582 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 585 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 608 Register receiver_map = a3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-mips.cc | 233 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 260 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 420 Handle<Map> receiver_map = map(); in CheckPrototypes() local 428 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 443 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 453 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 463 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 468 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/x64/ |
D | handler-compiler-x64.cc | 128 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 160 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 436 Handle<Map> receiver_map = map(); in CheckPrototypes() local 444 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 460 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 472 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 482 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 487 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/x87/ |
D | handler-compiler-x87.cc | 147 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 179 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 435 Handle<Map> receiver_map = map(); in CheckPrototypes() local 443 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 458 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 468 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 478 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 483 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/ia32/ |
D | handler-compiler-ia32.cc | 147 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 179 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 435 Handle<Map> receiver_map = map(); in CheckPrototypes() local 443 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 458 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 468 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 478 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 483 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|