Lines Matching defs:map

266   explicit StableMapDependency(const MapRef& map)
267 : CompilationDependency(kStableMap), map_(map) {}
316 Handle<Map> map = receiver_map_.object();
318 while (map->prototype() != *holder) {
319 map = handle(map->prototype().map(), isolate);
320 DCHECK(map->IsJSObjectMap()); // Due to IsValid holding.
321 deps->Register(map, DependentCode::kPrototypeCheckGroup);
324 DCHECK(map->prototype().map().IsJSObjectMap()); // Due to IsValid holding.
325 deps->Register(handle(map->prototype().map(), isolate),
403 prototype = object.map().prototype();
433 const MapRef& map,
439 map_(map),
445 if (holder_.object()->map() != *map_.object()) {
508 map_(holder.map()),
511 // We depend on map() being cached.
517 if (holder_.object()->map() != *map_.object()) {
595 explicit TransitionDependency(const MapRef& map)
596 : CompilationDependency(kTransition), map_(map) {
655 FieldRepresentationDependency(const MapRef& map, InternalIndex descriptor,
658 map_(map),
708 FieldTypeDependency(const MapRef& map, InternalIndex descriptor,
711 map_(map),
753 FieldConstnessDependency(const MapRef& map, InternalIndex descriptor)
755 map_(map),
881 ? object_->map()
914 ? site->boilerplate(kAcquireLoad).map().elements_kind()
1035 MapRef map = function.initial_map(this);
1036 RecordDependency(zone_->New<InitialMapDependency>(broker_, function, map));
1037 return map;
1048 void CompilationDependencies::DependOnStableMap(const MapRef& map) {
1049 if (map.CanTransition()) {
1050 RecordDependency(zone_->New<StableMapDependency>(map));
1070 const MapRef& map, InternalIndex descriptor) {
1071 PropertyConstness constness = map.GetPropertyDetails(descriptor).constness();
1074 // If the map can have fast elements transitions, then the field can be only
1075 // considered constant if the map does not transition.
1076 if (Map::CanHaveFastTransitionableElementsKind(map.instance_type())) {
1077 // If the map can already transition away, let us report the field as
1079 if (!map.is_stable()) {
1082 DependOnStableMap(map);
1086 RecordDependency(zone_->New<FieldConstnessDependency>(map, descriptor));
1143 ? site.boilerplate().value().map().elements_kind()
1163 const JSObjectRef& holder, const MapRef& map, Representation representation,
1166 broker_, holder, map, representation, index, value));
1193 // StableMapDependency on the prototype object's map.
1275 void DependOnStablePrototypeChain(CompilationDependencies* deps, MapRef map,
1278 HeapObjectRef proto = map.prototype();
1280 CHECK_EQ(proto.map().oddball_type(), OddballType::kNull);
1283 map = proto.map();
1284 deps->DependOnStableMap(map);
1366 const MapRef& map, InternalIndex descriptor,
1368 return zone_->New<FieldRepresentationDependency>(map, descriptor,
1374 const MapRef& map, InternalIndex descriptor, const ObjectRef& type) const {
1375 return zone_->New<FieldTypeDependency>(map, descriptor, type);