• Home
  • Raw
  • Download

Lines Matching refs:new_map

463   Handle<Map> new_map = Map::CopyAddDescriptor(isolate, map, &d, flag);  in CopyWithField()  local
464 new_map->AccountAddedPropertyField(); in CopyWithField()
465 return new_map; in CopyWithField()
703 base::Optional<Map> new_map = MapUpdater::TryUpdateNoLock( in TryUpdate() local
705 if (!new_map.has_value()) return MaybeHandle<Map>(); in TryUpdate()
707 TransitionsAccessor::SetMigrationTarget(isolate, old_map, new_map.value()); in TryUpdate()
709 return handle(new_map.value(), isolate); in TryUpdate()
724 Map new_map = *this; in TryReplayPropertyTransitions() local
728 TransitionsAccessor(isolate, new_map, IsConcurrent(cmode)) in TryReplayPropertyTransitions()
732 new_map = transition; in TryReplayPropertyTransitions()
734 new_map.instance_descriptors(isolate, kAcquireLoad); in TryReplayPropertyTransitions()
778 if (new_map.NumberOfOwnDescriptors() != old_nof) return Map(); in TryReplayPropertyTransitions()
779 return new_map; in TryReplayPropertyTransitions()
1191 Handle<Map> new_map; in Normalize() local
1193 cache->Get(fast_map, new_elements_kind, mode).ToHandle(&new_map)) { in Normalize()
1195 if (FLAG_verify_heap) new_map->DictionaryMapVerify(isolate); in Normalize()
1208 reinterpret_cast<void*>(new_map->address()), in Normalize()
1219 new_map->bit_field3() & ~ignored_bit_field3_bits); in Normalize()
1222 reinterpret_cast<void*>(new_map->address() + offset), in Normalize()
1225 if (new_map->is_prototype_map()) { in Normalize()
1234 reinterpret_cast<void*>(new_map->address() + offset), in Normalize()
1239 LOG(isolate, MapEvent("NormalizeCached", fast_map, new_map, reason)); in Normalize()
1242 new_map = Map::CopyNormalized(isolate, fast_map, mode); in Normalize()
1243 new_map->set_elements_kind(new_elements_kind); in Normalize()
1245 cache->Set(fast_map, new_map); in Normalize()
1249 LOG(isolate, MapEvent("Normalize", fast_map, new_map, reason)); in Normalize()
1253 return new_map; in Normalize()
1292 Handle<Map> new_map = Map::Copy(isolate, map, "ImmutablePrototype"); in TransitionToImmutableProto() local
1293 new_map->set_is_immutable_proto(true); in TransitionToImmutableProto()
1294 return new_map; in TransitionToImmutableProto()
1508 Handle<Map> new_map = CopyDropDescriptors(isolate, map); in AddMissingTransitions() local
1509 InstallDescriptors(isolate, map, new_map, i, descriptors); in AddMissingTransitions()
1511 map = new_map; in AddMissingTransitions()
1574 Handle<Map> new_map = CopyForElementsTransition(isolate, map); in CopyAsElementsKind() local
1575 new_map->set_elements_kind(kind); in CopyAsElementsKind()
1578 ConnectTransition(isolate, map, new_map, name, SPECIAL_TRANSITION); in CopyAsElementsKind()
1579 return new_map; in CopyAsElementsKind()
1583 Handle<Map> new_map = Copy(isolate, map, "CopyAsElementsKind"); in CopyAsElementsKind() local
1584 new_map->set_elements_kind(kind); in CopyAsElementsKind()
1585 return new_map; in CopyAsElementsKind()
1630 Handle<Map> new_map = CopyDropDescriptors(isolate, map); in CopyForElementsTransition() local
1637 new_map->InitializeDescriptors(isolate, map->instance_descriptors(isolate)); in CopyForElementsTransition()
1646 new_map->InitializeDescriptors(isolate, *new_descriptors); in CopyForElementsTransition()
1648 return new_map; in CopyForElementsTransition()
1700 Handle<Map> new_map = in CopyForPreventExtensions() local
1703 new_map->set_is_extensible(false); in CopyForPreventExtensions()
1757 new_map->set_elements_kind(new_kind); in CopyForPreventExtensions()
1759 return new_map; in CopyForPreventExtensions()
2306 Handle<Map> new_map = in TransitionToPrototype() local
2308 if (new_map.is_null()) { in TransitionToPrototype()
2309 new_map = Copy(isolate, map, "TransitionToPrototype"); in TransitionToPrototype()
2311 new_map); in TransitionToPrototype()
2312 Map::SetPrototype(isolate, new_map, prototype); in TransitionToPrototype()
2314 return new_map; in TransitionToPrototype()