Lines Matching refs:to_kind
2868 ElementsKind to_kind, in PrintElementsTransition() argument
2870 if (from_kind != to_kind) { in PrintElementsTransition()
2873 << ElementsKindToString(to_kind) << "] in "; in PrintElementsTransition()
3372 ElementsKind to_kind) { in GetElementsTransitionMap() argument
3374 return Map::TransitionElementsTo(object->GetIsolate(), map, to_kind); in GetElementsTransitionMap()
3383 ElementsKind to_kind = GetMoreGeneralElementsKind(map_kind, obj_kind); in AllocateStorageForMap() local
3385 to_kind = obj_kind; in AllocateStorageForMap()
3387 if (IsDictionaryElementsKind(to_kind)) { in AllocateStorageForMap()
3390 TransitionElementsKind(object, to_kind); in AllocateStorageForMap()
3392 map = MapUpdater{isolate, map}.ReconfigureElementsKind(to_kind); in AllocateStorageForMap()
5215 ElementsKind to_kind) { in UpdateAllocationSite() argument
5235 to_kind); in UpdateAllocationSite()
5240 Handle<JSObject> object, ElementsKind to_kind);
5243 Handle<JSObject> object, ElementsKind to_kind);
5246 ElementsKind to_kind) { in TransitionElementsKind() argument
5250 to_kind = GetHoleyElementsKind(to_kind); in TransitionElementsKind()
5253 if (from_kind == to_kind) return; in TransitionElementsKind()
5258 DCHECK(IsFastElementsKind(to_kind) || IsNonextensibleElementsKind(to_kind)); in TransitionElementsKind()
5261 UpdateAllocationSite(object, to_kind); in TransitionElementsKind()
5264 IsDoubleElementsKind(from_kind) == IsDoubleElementsKind(to_kind)) { in TransitionElementsKind()
5267 Handle<Map> new_map = GetElementsTransitionMap(object, to_kind); in TransitionElementsKind()
5271 PrintElementsTransition(stdout, object, from_kind, elms, to_kind, elms); in TransitionElementsKind()
5274 DCHECK((IsSmiElementsKind(from_kind) && IsDoubleElementsKind(to_kind)) || in TransitionElementsKind()
5275 (IsDoubleElementsKind(from_kind) && IsObjectElementsKind(to_kind))); in TransitionElementsKind()
5277 if (ElementsAccessor::ForKind(to_kind) in TransitionElementsKind()