/external/v8/src/ic/ |
D | ic-compiler.cc | 37 Handle<Map> receiver_map, ExtraICState extra_ic_state) { in ComputeKeyedLoadMonomorphicHandler() argument 38 Isolate* isolate = receiver_map->GetIsolate(); in ComputeKeyedLoadMonomorphicHandler() 39 bool is_js_array = receiver_map->instance_type() == JS_ARRAY_TYPE; in ComputeKeyedLoadMonomorphicHandler() 40 ElementsKind elements_kind = receiver_map->elements_kind(); in ComputeKeyedLoadMonomorphicHandler() 46 *receiver_map == isolate->get_initial_js_array_map(elements_kind) && in ComputeKeyedLoadMonomorphicHandler() 49 if (receiver_map->has_indexed_interceptor()) { in ComputeKeyedLoadMonomorphicHandler() 51 } else if (receiver_map->IsStringMap()) { in ComputeKeyedLoadMonomorphicHandler() 54 } else if (receiver_map->has_sloppy_arguments_elements()) { in ComputeKeyedLoadMonomorphicHandler() 56 } else if (receiver_map->has_fast_elements() || in ComputeKeyedLoadMonomorphicHandler() 57 receiver_map->has_fixed_typed_array_elements()) { in ComputeKeyedLoadMonomorphicHandler() [all …]
|
D | ic-compiler.h | 26 Handle<Map> receiver_map, ExtraICState extra_ic_state); 29 Handle<Map> receiver_map, LanguageMode language_mode, 37 static Handle<Code> ComputeCompareNil(Handle<Map> receiver_map, 66 Handle<Map> receiver_map, KeyedAccessStoreMode store_mode); 67 Handle<Code> CompileKeyedStoreMonomorphic(Handle<Map> receiver_map,
|
D | handler-compiler.cc | 30 Handle<Name> name, Handle<Map> receiver_map) { in ComputeLoadNonexistent() argument 32 if (receiver_map->prototype()->IsNull()) { in ComputeLoadNonexistent() 40 IC::GetHandlerCacheHolder(receiver_map, false, isolate, &flag); in ComputeLoadNonexistent() 48 receiver_map->is_dictionary_map() in ComputeLoadNonexistent() 52 Handle<JSObject> last(JSObject::cast(receiver_map->prototype())); in ComputeLoadNonexistent() 75 NamedLoadHandlerCompiler compiler(isolate, receiver_map, last, flag); in ComputeLoadNonexistent() 313 Handle<Map> receiver_map = map(); in CompileLoadInterceptor() local 316 receiver_map, property_holder); in CompileLoadInterceptor() 572 Handle<Map> receiver_map = receiver_maps->at(i); in CompileElementHandlers() local 575 if (receiver_map->IsStringMap()) { in CompileElementHandlers() [all …]
|
D | ic-inl.h | 129 Handle<Map> IC::GetHandlerCacheHolder(Handle<Map> receiver_map, in GetHandlerCacheHolder() argument 134 return receiver_map; in GetHandlerCacheHolder() 137 if (Map::GetConstructorFunction(receiver_map, isolate->native_context()) in GetHandlerCacheHolder() 142 *flag = receiver_map->is_dictionary_map() in GetHandlerCacheHolder() 146 return handle(JSObject::cast(receiver_map->prototype())->map()); in GetHandlerCacheHolder()
|
D | call-optimization.h | 41 Handle<Map> receiver_map, HolderLookup* holder_lookup, 49 bool IsCompatibleReceiverMap(Handle<Map> receiver_map,
|
D | ic.cc | 261 maybe_handler_ = nexus()->FindHandlerForMap(receiver_map()); in TryRemoveInvalidPrototypeDependentStub() 263 maybe_handler_ = target()->FindHandlerForMap(*receiver_map()); in TryRemoveInvalidPrototypeDependentStub() 272 if (!receiver_map()->IsJSObjectMap()) return false; in TryRemoveInvalidPrototypeDependentStub() 278 receiver_map()->elements_kind()); in TryRemoveInvalidPrototypeDependentStub() 282 Handle<Map> ic_holder_map(GetICCacheHolder(receiver_map(), isolate(), &flag)); in TryRemoveInvalidPrototypeDependentStub() 746 Handle<Map> map = receiver_map(); in UpdatePolymorphicIC() 788 ConfigureVectorState(name, receiver_map(), code); in UpdatePolymorphicIC() 810 ConfigureVectorState(name, receiver_map(), handler); in UpdateMonomorphicIC() 862 UpdateMegamorphicCache(*receiver_map(), *name, *code); in PatchCache() 975 bool IsCompatibleReceiver(LookupIterator* lookup, Handle<Map> receiver_map) { in IsCompatibleReceiver() argument [all …]
|
/external/v8/src/ |
D | prototype.h | 57 explicit PrototypeIterator(Map* receiver_map) in PrototypeIterator() argument 59 object_(receiver_map->prototype()), in PrototypeIterator() 60 isolate_(receiver_map->GetIsolate()) {} in PrototypeIterator() 62 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 | 508 void LoadICNexus::ConfigureMonomorphic(Handle<Map> receiver_map, in ConfigureMonomorphic() argument 510 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic() 517 Handle<Map> receiver_map, in ConfigureMonomorphic() argument 519 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic() 532 void StoreICNexus::ConfigureMonomorphic(Handle<Map> receiver_map, in ConfigureMonomorphic() argument 534 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic() 541 Handle<Map> receiver_map, in ConfigureMonomorphic() argument 543 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in ConfigureMonomorphic()
|
D | type-feedback-vector.h | 449 void ConfigureMonomorphic(Handle<Map> receiver_map, Handle<Code> handler); 471 void ConfigureMonomorphic(Handle<Name> name, Handle<Map> receiver_map, 499 void ConfigureMonomorphic(Handle<Map> receiver_map, Handle<Code> handler); 525 void ConfigureMonomorphic(Handle<Name> name, Handle<Map> receiver_map,
|
/external/v8/src/compiler/ |
D | access-info.cc | 205 for (Handle<Map> receiver_map : receiver_maps) { in ComputeElementAccessInfos() 208 if (!ComputeElementAccessInfo(receiver_map, access_mode, &access_info)) { in ComputeElementAccessInfos() 214 if (transition.second.is_identical_to(receiver_map)) { in ComputeElementAccessInfos() 233 Handle<Map> receiver_map = map; in ComputePropertyAccessInfo() local 258 return LookupTransition(receiver_map, name, holder, access_info); in ComputePropertyAccessInfo() 263 Type::Class(receiver_map, zone()), in ComputePropertyAccessInfo() 300 Type::Class(receiver_map, zone()), field_index, field_type, in ComputePropertyAccessInfo() 333 return LookupTransition(receiver_map, name, holder, access_info); in ComputePropertyAccessInfo() 339 Type::Class(receiver_map, zone()), holder); in ComputePropertyAccessInfo()
|
/external/v8/src/ic/arm64/ |
D | ic-arm64.cc | 486 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 488 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 520 __ CheckFastObjectElements(receiver_map, x10, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 581 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, x10, x11, slow); in KeyedStoreGenerateMegamorphicHelper() 585 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 592 receiver_map, x10, x11, slow); in KeyedStoreGenerateMegamorphicHelper() 596 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 606 receiver_map, x10, x11, slow); in KeyedStoreGenerateMegamorphicHelper() 609 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 635 Register receiver_map = x3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-arm64.cc | 143 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 174 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 475 Handle<Map> receiver_map = map(); in CheckPrototypes() local 483 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 499 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 510 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 520 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 526 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/arm/ |
D | ic-arm.cc | 478 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 488 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 526 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 582 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 586 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 593 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 596 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 605 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 608 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 633 Register receiver_map = r3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-arm.cc | 235 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 262 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 428 Handle<Map> receiver_map = map(); in CheckPrototypes() local 437 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 453 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 464 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 474 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 479 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/mips64/ |
D | ic-mips64.cc | 465 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 476 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 519 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 579 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 583 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 590 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 593 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 602 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 605 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 628 Register receiver_map = a3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-mips64.cc | 228 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 255 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 418 Handle<Map> receiver_map = map(); in CheckPrototypes() local 427 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 443 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 454 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 464 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 469 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/ppc/ |
D | ic-ppc.cc | 488 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 498 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 538 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 595 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 599 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 606 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 609 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 618 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 621 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 646 Register receiver_map = r6; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-ppc.cc | 233 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 260 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 427 Handle<Map> receiver_map = map(); in CheckPrototypes() local 436 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 452 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 463 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 472 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 477 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/mips/ |
D | ic-mips.cc | 468 Register value, Register key, Register receiver, Register receiver_map, in KeyedStoreGenerateMegamorphicHelper() argument 480 DCHECK(!AreAliased(value, key, receiver, receiver_map, elements_map, elements, in KeyedStoreGenerateMegamorphicHelper() 521 __ CheckFastObjectElements(receiver_map, scratch, &transition_smi_elements); in KeyedStoreGenerateMegamorphicHelper() 579 FAST_SMI_ELEMENTS, FAST_DOUBLE_ELEMENTS, receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 583 receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 590 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 593 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 602 receiver_map, scratch, slow); in KeyedStoreGenerateMegamorphicHelper() 605 masm, receiver, key, value, receiver_map, mode, slow); in KeyedStoreGenerateMegamorphicHelper() 628 Register receiver_map = a3; in GenerateMegamorphic() local [all …]
|
D | handler-compiler-mips.cc | 228 Handle<Map> receiver_map, Register receiver, Register scratch_in, in GenerateApiAccessorCall() argument 255 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 418 Handle<Map> receiver_map = map(); in CheckPrototypes() local 427 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 443 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 454 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 464 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 469 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/runtime/ |
D | runtime-interpreter.cc | 166 Handle<Map> receiver_map = handle(receiver->map(), isolate); in RUNTIME_FUNCTION() local 172 DescriptorArray* descriptors = receiver_map->instance_descriptors(); in RUNTIME_FUNCTION() 185 if (receiver_map->instance_type() == JS_PROXY_TYPE) { in RUNTIME_FUNCTION()
|
/external/v8/src/ic/x87/ |
D | handler-compiler-x87.cc | 141 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 173 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 433 Handle<Map> receiver_map = map(); in CheckPrototypes() local 442 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 458 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 469 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 479 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 484 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/ic/x64/ |
D | handler-compiler-x64.cc | 125 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 157 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 429 Handle<Map> receiver_map = map(); in CheckPrototypes() local 438 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 455 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 | 141 Handle<Map> receiver_map, Register receiver, Register scratch, in GenerateApiAccessorCall() argument 173 optimization.LookupHolderOfExpectedType(receiver_map, &holder_lookup, in GenerateApiAccessorCall() 433 Handle<Map> receiver_map = map(); in CheckPrototypes() local 442 Map::GetOrCreatePrototypeChainValidityCell(receiver_map, isolate()); in CheckPrototypes() 458 Handle<WeakCell> cell = Map::WeakCellForMap(receiver_map); in CheckPrototypes() 469 if (receiver_map->IsJSGlobalObjectMap()) { in CheckPrototypes() 479 if (receiver_map->IsJSGlobalProxyMap()) { in CheckPrototypes() 484 Handle<Map> current_map = receiver_map; in CheckPrototypes()
|
/external/v8/src/arm64/ |
D | code-stubs-arm64.cc | 4245 Register receiver_map, Register scratch1, in HandleArrayCases() argument 4258 __ Cmp(receiver_map, cached_map); in HandleArrayCases() 4296 __ Cmp(receiver_map, cached_map); in HandleArrayCases() 4313 Register receiver_map, Register feedback, in HandleMonomorphicCase() argument 4318 __ Ldr(receiver_map, FieldMemOperand(receiver, HeapObject::kMapOffset)); in HandleMonomorphicCase() 4323 __ Cmp(cached_map, receiver_map); in HandleMonomorphicCase() 4341 Register receiver_map = x5; in GenerateImpl() local 4352 HandleMonomorphicCase(masm, receiver, receiver_map, feedback, vector, slot, in GenerateImpl() 4359 HandleArrayCases(masm, feedback, receiver_map, scratch1, x7, true, &miss); in GenerateImpl() 4367 receiver_map, scratch1, x7); in GenerateImpl() [all …]
|