• Home
  • Raw
  • Download

Lines Matching refs:new_map

471   Handle<Map> new_map = Map::CopyAddDescriptor(isolate, map, &d, flag);  in CopyWithField()  local
472 new_map->AccountAddedPropertyField(); in CopyWithField()
473 return new_map; in CopyWithField()
897 Map new_map = TryUpdateSlow(isolate, *old_map); in TryUpdate() local
898 if (new_map.is_null()) return MaybeHandle<Map>(); in TryUpdate()
901 .SetMigrationTarget(new_map); in TryUpdate()
903 return handle(new_map, isolate); in TryUpdate()
1031 Map new_map = *this; in TryReplayPropertyTransitions() local
1035 TransitionsAccessor(isolate, new_map, &no_allocation) in TryReplayPropertyTransitions()
1039 new_map = transition; in TryReplayPropertyTransitions()
1041 new_map.instance_descriptors(kRelaxedLoad); in TryReplayPropertyTransitions()
1085 if (new_map.NumberOfOwnDescriptors() != old_nof) return Map(); in TryReplayPropertyTransitions()
1086 return new_map; in TryReplayPropertyTransitions()
1487 Handle<Map> new_map; in Normalize() local
1489 cache->Get(fast_map, new_elements_kind, mode).ToHandle(&new_map)) { in Normalize()
1491 if (FLAG_verify_heap) new_map->DictionaryMapVerify(isolate); in Normalize()
1504 reinterpret_cast<void*>(new_map->address()), in Normalize()
1515 new_map->bit_field3() & ~ignored_bit_field3_bits); in Normalize()
1518 reinterpret_cast<void*>(new_map->address() + offset), in Normalize()
1521 if (new_map->is_prototype_map()) { in Normalize()
1530 reinterpret_cast<void*>(new_map->address() + offset), in Normalize()
1535 new_map = Map::CopyNormalized(isolate, fast_map, mode); in Normalize()
1536 new_map->set_elements_kind(new_elements_kind); in Normalize()
1538 cache->Set(fast_map, new_map); in Normalize()
1543 LOG(isolate, MapEvent("Normalize", fast_map, new_map, reason)); in Normalize()
1546 return new_map; in Normalize()
1581 Handle<Map> new_map = Map::Copy(isolate, map, "ImmutablePrototype"); in TransitionToImmutableProto() local
1582 new_map->set_is_immutable_proto(true); in TransitionToImmutableProto()
1583 return new_map; in TransitionToImmutableProto()
1814 Handle<Map> new_map = CopyDropDescriptors(isolate, map); in AddMissingTransitions() local
1815 InstallDescriptors(isolate, map, new_map, i, descriptors, in AddMissingTransitions()
1818 map = new_map; in AddMissingTransitions()
1898 Handle<Map> new_map = CopyForElementsTransition(isolate, map); in CopyAsElementsKind() local
1899 new_map->set_elements_kind(kind); in CopyAsElementsKind()
1902 ConnectTransition(isolate, map, new_map, name, SPECIAL_TRANSITION); in CopyAsElementsKind()
1903 return new_map; in CopyAsElementsKind()
1907 Handle<Map> new_map = Copy(isolate, map, "CopyAsElementsKind"); in CopyAsElementsKind() local
1908 new_map->set_elements_kind(kind); in CopyAsElementsKind()
1909 return new_map; in CopyAsElementsKind()
1954 Handle<Map> new_map = CopyDropDescriptors(isolate, map); in CopyForElementsTransition() local
1961 new_map->InitializeDescriptors(isolate, in CopyForElementsTransition()
1974 new_map->InitializeDescriptors(isolate, *new_descriptors, in CopyForElementsTransition()
1977 return new_map; in CopyForElementsTransition()
2030 Handle<Map> new_map = CopyReplaceDescriptors( in CopyForPreventExtensions() local
2033 new_map->set_is_extensible(false); in CopyForPreventExtensions()
2087 new_map->set_elements_kind(new_kind); in CopyForPreventExtensions()
2089 return new_map; in CopyForPreventExtensions()
2258 Handle<Map> new_map = mu.ReconfigureToDataField( in ReconfigureExistingProperty() local
2261 return new_map; in ReconfigureExistingProperty()
2699 Handle<Map> new_map = in TransitionToPrototype() local
2701 if (new_map.is_null()) { in TransitionToPrototype()
2702 new_map = Copy(isolate, map, "TransitionToPrototype"); in TransitionToPrototype()
2704 .PutPrototypeTransition(prototype, new_map); in TransitionToPrototype()
2705 Map::SetPrototype(isolate, new_map, prototype); in TransitionToPrototype()
2707 return new_map; in TransitionToPrototype()