Home
last modified time | relevance | path

Searched refs:old_map (Results 1 – 14 of 14) sorted by relevance

/third_party/node/deps/v8/src/ic/
Dstub-cache.cc50 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()
Dic.cc260 Handle<Map> old_map(first_map, isolate()); in ShouldRecomputeHandler() local
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/
Dmap-updater.cc92 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 …]
Dmap-updater.h52 MapUpdater(Isolate* isolate, Handle<Map> old_map);
72 static base::Optional<Map> TryUpdateNoLock(Isolate* isolate, Map old_map,
104 Handle<Map> old_map);
Djs-objects.cc2937 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_map, isolate); in NotifyMapChange()
[all …]
Dlookup.cc403 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() local
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() local
489 isolate_, old_map, descriptor_number(), i::PropertyKind::kData, in ReconfigureDataProperty()
[all …]
Dmap.cc654 Map SearchMigrationTarget(Isolate* isolate, Map old_map) { in SearchMigrationTarget() argument
657 Map target = old_map; in SearchMigrationTarget()
671 DescriptorArray old_descriptors = old_map.instance_descriptors(isolate); in SearchMigrationTarget()
672 for (InternalIndex i : old_map.IterateOwnDescriptors()) { in SearchMigrationTarget()
684 isolate, old_map, ConcurrencyMode::kSynchronous) == target); in SearchMigrationTarget()
690 MaybeHandle<Map> Map::TryUpdate(Isolate* isolate, Handle<Map> old_map) { in TryUpdate() argument
694 if (!old_map->is_deprecated()) return old_map; in TryUpdate()
697 Map target_map = SearchMigrationTarget(isolate, *old_map); in TryUpdate()
704 isolate, *old_map, ConcurrencyMode::kSynchronous); in TryUpdate()
707 TransitionsAccessor::SetMigrationTarget(isolate, old_map, new_map.value()); in TryUpdate()
[all …]
Djs-objects.h502 static void UpdatePrototypeUserRegistration(Handle<Map> old_map,
511 static void NotifyMapChange(Handle<Map> old_map, Handle<Map> new_map,
Dmap.h530 Isolate* isolate, Handle<Map> old_map, InternalIndex descriptor_number,
/third_party/node/deps/v8/src/base/
Dhashmap.h413 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/node/deps/v8/src/api/
Dapi-natives.cc135 Handle<Map> old_map(object->map(), isolate); in DisableAccessChecks() local
137 Handle<Map> new_map = Map::Copy(isolate, old_map, "DisableAccessChecks"); in DisableAccessChecks()
143 Handle<Map> old_map(object->map(), isolate); in EnableAccessChecks() local
145 Handle<Map> new_map = Map::Copy(isolate, old_map, "EnableAccessChecks"); in EnableAccessChecks()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_program.c2095 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/
Dcrocus_program.c1996 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/
Dfactory.cc3123 Handle<Map> old_map(object->map(), isolate()); in ReinitializeJSGlobalProxy() local
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()