Home | History | Annotate | Download | only in heap

Lines Matching refs:instance_type

2021         if (map->instance_type() == JS_FUNCTION_TYPE) {
2130 ->SeqOneByteStringSize(map->instance_type());
2139 ->SeqTwoByteStringSize(map->instance_type());
2147 DCHECK(IsShortcutCandidate(map->instance_type()));
2266 AllocationResult Heap::AllocatePartialMap(InstanceType instance_type,
2274 reinterpret_cast<Map*>(result)->set_instance_type(instance_type);
2277 StaticVisitorBase::GetVisitorId(instance_type, instance_size));
2290 AllocationResult Heap::AllocateMap(InstanceType instance_type,
2299 map->set_instance_type(instance_type);
2301 StaticVisitorBase::GetVisitorId(instance_type, instance_size));
2379 #define ALLOCATE_PARTIAL_MAP(instance_type, size, field_name) \
2382 if (!AllocatePartialMap((instance_type), (size)).To(&map)) return false; \
2479 #define ALLOCATE_MAP(instance_type, size, field_name) \
2482 if (!AllocateMap((instance_type), size).To(&map)) return false; \
2486 #define ALLOCATE_VARSIZE_MAP(instance_type, field_name) \
2487 ALLOCATE_MAP(instance_type, kVariableSizeSentinel, field_name)
3572 DCHECK(map->instance_type() != MAP_TYPE);
3576 (space != NEW_SPACE) ? space : TargetSpaceId(map->instance_type());
3631 DCHECK(map->instance_type() != JS_FUNCTION_TYPE);
3635 DCHECK(map->instance_type() != JS_GLOBAL_OBJECT_TYPE);
3636 DCHECK(map->instance_type() != JS_BUILTINS_OBJECT_TYPE);
3693 DCHECK(site == NULL || AllocationSite::CanTrack(map->instance_type()));
4958 InstanceType type = obj->map()->instance_type();
5803 obj->IterateBody(map->instance_type(), obj->SizeFromMap(map), mark_visitor);
5832 obj->IterateBody(map->instance_type(), obj->SizeFromMap(map), unmark_visitor);