/third_party/node/deps/v8/src/ic/ |
H A D | stub-cache.cc | 50 int StubCache::SecondaryOffset(Name name, Map old_map) { in SecondaryOffset() argument 52 uint32_t map_low32bits = static_cast<uint32_t>(old_map.ptr()); in SecondaryOffset() 96 Map old_map = in Set() local 100 int secondary_offset = SecondaryOffset(old_name, old_map); in Set()
|
H A D | ic.cc | 260 Handle<Map> old_map(first_map, isolate()); in ShouldRecomputeHandler() 261 if (old_map->is_deprecated()) return true; in ShouldRecomputeHandler() 263 old_map->elements_kind(), lookup_start_object_map()->elements_kind()); in ShouldRecomputeHandler()
|
/third_party/node/deps/v8/src/objects/ |
H A D | map-updater.h | 32 // "updated" |old_map|'s descriptor array (i.e. whose entry at |modify_index| 38 // - Merge/generalize the "updated" descriptor array of the |old_map| and 49 // - If the |old_map| had integrity level transition, create the new map for it. 52 MapUpdater(Isolate* isolate, Handle<Map> old_map); 72 static base::Optional<Map> TryUpdateNoLock(Isolate* isolate, Map old_map, 104 Handle<Map> old_map); 123 // "updated" |old_map|'s descriptor array (i.e. whose entry at 154 // - If the |old_map| had integrity level transition, create the new map
|
H A D | map-updater.cc | 92 MapUpdater::MapUpdater(Isolate* isolate, Handle<Map> old_map) in MapUpdater() argument 94 old_map_(old_map), in MapUpdater() 95 old_descriptors_(old_map->instance_descriptors(isolate), isolate_), in MapUpdater() 102 !old_map->FindRootMap(isolate).GetConstructor().IsFunctionTemplateInfo()); in MapUpdater() 342 base::Optional<Map> MapUpdater::TryUpdateNoLock(Isolate* isolate, Map old_map, in TryUpdateNoLock() argument 347 Map root_map = old_map.FindRootMap(isolate); in TryUpdateNoLock() 352 if (constructor.initial_map().elements_kind() != old_map.elements_kind()) { in TryUpdateNoLock() 357 if (!old_map.EquivalentToForTransition(root_map, cmode)) return {}; in TryUpdateNoLock() 360 ElementsKind to_kind = old_map.elements_kind(); in TryUpdateNoLock() 362 IntegrityLevelTransitionInfo info(old_map); in TryUpdateNoLock() [all...] |
H A D | lookup.cc | 403 Map old_map = holder->map(isolate_); in PrepareForDataProperty() local 404 if (old_map.is_prototype_map()) { in PrepareForDataProperty() 405 JSObject::InvalidatePrototypeChains(old_map); in PrepareForDataProperty() 415 Handle<Map> old_map(holder->map(isolate_), isolate_); in PrepareForDataProperty() 417 Handle<Map> new_map = Map::Update(isolate_, old_map); in PrepareForDataProperty() 422 if (old_map.is_identical_to(new_map)) { in PrepareForDataProperty() 433 DCHECK_NE(*old_map, *new_map); in PrepareForDataProperty() 441 DCHECK(!old_map->is_dictionary_map()); in PrepareForDataProperty() 485 Handle<Map> old_map(holder_obj->map(isolate_), isolate_); in ReconfigureDataProperty() 489 isolate_, old_map, descriptor_numbe in ReconfigureDataProperty() [all...] |
H A D | js-objects.cc | 2937 void JSObject::UpdatePrototypeUserRegistration(Handle<Map> old_map, in UpdatePrototypeUserRegistration() argument 2940 DCHECK(old_map->is_prototype_map()); in UpdatePrototypeUserRegistration() 2942 bool was_registered = JSObject::UnregisterPrototypeUser(old_map, isolate); in UpdatePrototypeUserRegistration() 2943 new_map->set_prototype_info(old_map->prototype_info(), kReleaseStore); in UpdatePrototypeUserRegistration() 2944 old_map->set_prototype_info(Smi::zero(), kReleaseStore); in UpdatePrototypeUserRegistration() 2948 reinterpret_cast<void*>(old_map->ptr()), in UpdatePrototypeUserRegistration() 2963 void JSObject::NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map, in NotifyMapChange() argument 2965 if (!old_map->is_prototype_map()) return; in NotifyMapChange() 2967 InvalidatePrototypeChains(*old_map); in NotifyMapChange() 2974 UpdatePrototypeUserRegistration(old_map, new_ma in NotifyMapChange() 3358 Handle<Map> old_map = Handle<Map>(object->map(), isolate); ForceSetPrototype() local [all...] |
H A D | map.cc | 654 Map SearchMigrationTarget(Isolate* isolate, Map old_map) { 657 Map target = old_map; 668 // types instead of old_map's types. 669 // Go to slow map updating if the old_map has fast properties with cleared 671 DescriptorArray old_descriptors = old_map.instance_descriptors(isolate); 672 for (InternalIndex i : old_map.IterateOwnDescriptors()) { 684 isolate, old_map, ConcurrencyMode::kSynchronous) == target); 690 MaybeHandle<Map> Map::TryUpdate(Isolate* isolate, Handle<Map> old_map) { 694 if (!old_map->is_deprecated()) return old_map; [all...] |
H A D | js-objects.h | 502 static void UpdatePrototypeUserRegistration(Handle<Map> old_map, 510 // map from |old_map| to |new_map|. 511 static void NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map,
|
H A D | map.h | 530 Isolate* isolate, Handle<Map> old_map, InternalIndex descriptor_number,
|
/third_party/node/deps/v8/src/api/ |
H A D | api-natives.cc | 135 Handle<Map> old_map(object->map(), isolate); in DisableAccessChecks() 137 Handle<Map> new_map = Map::Copy(isolate, old_map, "DisableAccessChecks"); in DisableAccessChecks() 143 Handle<Map> old_map(object->map(), isolate); in EnableAccessChecks() 145 Handle<Map> new_map = Map::Copy(isolate, old_map, "EnableAccessChecks"); in EnableAccessChecks()
|
/third_party/node/deps/v8/src/base/ |
H A D | hashmap.h | 413 Entry* old_map = impl_.map_; in Resize() local 421 for (Entry* entry = old_map; n > 0; entry++) { in Resize() 431 impl_.allocator().DeleteArray(old_map, old_capacity); in Resize()
|
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_program.c | 2095 struct brw_vue_map *old_map = !ice->shaders.last_vue_shader ? NULL : in update_last_vue_map() local 2098 (old_map ? old_map->slots_valid : 0ull) ^ vue_map->slots_valid; in update_last_vue_map() 2111 if (changed_slots || (old_map && old_map->separate != vue_map->separate)) { in update_last_vue_map()
|
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_program.c | 1996 struct brw_vue_map *old_map = ice->shaders.last_vue_map; in update_last_vue_map() local 1998 (old_map ? old_map->slots_valid : 0ull) ^ vue_map->slots_valid; in update_last_vue_map() 2018 if (changed_slots || (old_map && old_map->separate != vue_map->separate)) { in update_last_vue_map()
|
/third_party/node/deps/v8/src/heap/ |
H A D | factory.cc | 3123 Handle<Map> old_map(object->map(), isolate()); in ReinitializeJSGlobalProxy() 3129 if (old_map->is_prototype_map()) { in ReinitializeJSGlobalProxy() 3133 JSObject::NotifyMapChange(old_map, map, isolate()); in ReinitializeJSGlobalProxy() 3134 old_map->NotifyLeafMapLayoutChange(isolate()); in ReinitializeJSGlobalProxy() 3138 DCHECK(map->instance_size() == old_map->instance_size()); in ReinitializeJSGlobalProxy() 3139 DCHECK(map->instance_type() == old_map->instance_type()); in ReinitializeJSGlobalProxy()
|