• Home
  • Raw
  • Download

Lines Matching refs:new_map

509         Object* new_map;  in DeleteNormalizedProperty()  local
511 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in DeleteNormalizedProperty()
513 set_map(Map::cast(new_map)); in DeleteNormalizedProperty()
1481 MaybeObject* JSObject::AddFastPropertyUsingMap(Map* new_map, in AddFastPropertyUsingMap() argument
1484 int index = new_map->PropertyIndexFor(name); in AddFastPropertyUsingMap()
1487 int new_unused = new_map->unused_property_fields(); in AddFastPropertyUsingMap()
1495 set_map(new_map); in AddFastPropertyUsingMap()
1572 Map* new_map = Map::cast(r); in AddFastProperty() local
1575 MapTransitionDescriptor d(name, Map::cast(new_map), attributes); in AddFastProperty()
1599 new_map->set_unused_property_fields(kFieldsAdded - 1); in AddFastProperty()
1601 new_map->set_unused_property_fields(map()->unused_property_fields() - 1); in AddFastProperty()
1606 new_map->set_instance_descriptors(DescriptorArray::cast(new_descriptors)); in AddFastProperty()
1607 set_map(new_map); in AddFastProperty()
1627 Object* new_map; in AddConstantFunctionProperty() local
1629 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in AddConstantFunctionProperty()
1633 Map::cast(new_map)->set_instance_descriptors(descriptors); in AddConstantFunctionProperty()
1635 set_map(Map::cast(new_map)); in AddConstantFunctionProperty()
1657 ConstTransitionDescriptor mark(name, Map::cast(new_map)); in AddConstantFunctionProperty()
1863 Map* new_map = Map::cast(new_map_unchecked); in ConvertDescriptorToField() local
1864 new_map->set_instance_descriptors(new_descriptors); in ConvertDescriptorToField()
1883 new_map->set_unused_property_fields(new_unused_property_fields); in ConvertDescriptorToField()
1884 set_map(new_map); in ConvertDescriptorToField()
2257 Map* new_map) { in AddElementsTransitionMapToDescriptor() argument
2261 return new_map; in AddElementsTransitionMapToDescriptor()
2267 Heap* heap = new_map->GetHeap(); in AddElementsTransitionMapToDescriptor()
2275 new_array->set(1, new_map); in AddElementsTransitionMapToDescriptor()
2286 array->set(i, new_map); in AddElementsTransitionMapToDescriptor()
2302 new_array->set(i, new_map); in AddElementsTransitionMapToDescriptor()
2452 Map* new_map = NULL; in GetElementsTransitionMapSlow() local
2457 if (!maybe_map->To(&new_map)) return maybe_map; in GetElementsTransitionMapSlow()
2460 new_map->set_elements_kind(to_kind); in GetElementsTransitionMapSlow()
2470 current_map->AddElementsTransition(to_kind, new_map); in GetElementsTransitionMapSlow()
2473 return new_map; in GetElementsTransitionMapSlow()
3400 Map* new_map; in NormalizeProperties() local
3404 if (!maybe_map->To(&new_map)) return maybe_map; in NormalizeProperties()
3411 int new_instance_size = new_map->instance_size(); in NormalizeProperties()
3422 set_map(new_map); in NormalizeProperties()
3423 new_map->clear_instance_descriptors(); in NormalizeProperties()
3532 Object* new_map; in NormalizeElements() local
3535 if (!maybe->ToObject(&new_map)) return maybe; in NormalizeElements()
3536 set_map(Map::cast(new_map)); in NormalizeElements()
4170 Map* new_map; in PreventExtensions() local
4172 if (!maybe->To<Map>(&new_map)) return maybe; in PreventExtensions()
4174 new_map->set_is_extensible(false); in PreventExtensions()
4175 set_map(new_map); in PreventExtensions()
4177 return new_map; in PreventExtensions()
4523 Map* new_map; in SetPropertyCallback() local
4525 if (!maybe_new_map->To(&new_map)) return maybe_new_map; in SetPropertyCallback()
4527 set_map(new_map); in SetPropertyCallback()
4827 Object* new_map; in CopyDropTransitions() local
4829 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in CopyDropTransitions()
4836 cast(new_map)->set_instance_descriptors(DescriptorArray::cast(descriptors)); in CopyDropTransitions()
4837 return new_map; in CopyDropTransitions()
7460 Map* new_map; in SetInstancePrototype() local
7462 if (!maybe_new_map->To(&new_map)) return maybe_new_map; in SetInstancePrototype()
7463 new_map->set_prototype(value); in SetInstancePrototype()
7465 set_initial_map_and_cache_transitions(new_map); in SetInstancePrototype()
7490 Map* new_map; in SetPrototype() local
7492 if (!maybe_new_map->To(&new_map)) return maybe_new_map; in SetPrototype()
7494 Heap* heap = new_map->GetHeap(); in SetPrototype()
7495 set_map(new_map); in SetPrototype()
7496 new_map->set_constructor(value); in SetPrototype()
7497 new_map->set_non_instance_prototype(true); in SetPrototype()
8472 Map* new_map = NULL; in SetFastElementsCapacityAndLength() local
8485 if (!maybe->To(&new_map)) return maybe; in SetFastElementsCapacityAndLength()
8497 set_map_and_elements(new_map, new_elements); in SetFastElementsCapacityAndLength()
8530 Map* new_map; in SetFastDoubleElementsCapacityAndLength() local
8533 if (!maybe_obj->To(&new_map)) return maybe_obj; in SetFastDoubleElementsCapacityAndLength()
8541 set_map_and_elements(new_map, elems); in SetFastDoubleElementsCapacityAndLength()
8708 Object* new_map = map->GetPrototypeTransition(value); in SetPrototype() local
8709 if (new_map == NULL) { in SetPrototype()
8711 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in SetPrototype()
8715 map->PutPrototypeTransition(value, Map::cast(new_map)); in SetPrototype()
8719 Map::cast(new_map)->set_prototype(value); in SetPrototype()
8721 ASSERT(Map::cast(new_map)->prototype() == value); in SetPrototype()
8722 real_receiver->set_map(Map::cast(new_map)); in SetPrototype()
9186 Map* new_map; in SetFastElement() local
9189 if (!maybe_new_map->To(&new_map)) return maybe_new_map; in SetFastElement()
9191 set_map(new_map); in SetFastElement()
9680 Map* new_map; in TransitionElementsKind() local
9681 if (!maybe_new_map->To(&new_map)) return maybe_new_map; in TransitionElementsKind()
9682 set_map(new_map); in TransitionElementsKind()
11294 Map* new_map = Map::cast(obj); in PrepareElementsForSort() local
11305 set_map(new_map); in PrepareElementsForSort()
12468 Object* new_map; in TransformPropertiesToFastFor() local
12470 if (!maybe_new_map->ToObject(&new_map)) return maybe_new_map; in TransformPropertiesToFastFor()
12474 obj->set_map(Map::cast(new_map)); in TransformPropertiesToFastFor()