Lines Matching defs:map

17 #include "src/objects/map.h"
60 void Serializer::CountAllocation(Map map, int size, SnapshotSpace space) {
66 int instance_type = map.instance_type();
354 // Add the given object to the pending objects -> forward refs map.
406 // decompress map field of off-heap Code object.
412 int size, Map map) {
420 if (map == *object_) {
429 // TODO(leszeks): Skip this when the map has a fixed size.
435 // Serialize map (first word of the object) before anything else, so that
436 // the deserializer can access it when allocating. Make sure that the map
438 DCHECK_NULL(serializer_->forward_refs_per_pending_object_.Find(map));
439 DCHECK(map.IsMap());
440 serializer_->SerializeObject(handle(map, isolate()));
442 // Make sure the map serialization didn't accidentally recursively serialize
454 serializer_->CountAllocation(object_->map(), size, space);
457 // Mark this object as already serialized, and add it to the reference map so
465 // Only add the object to the map if it's not not_mapped_symbol, else
621 Map map;
625 // Find the map and size for the imaginary sequential string.
628 map = internalized ? roots.one_byte_internalized_string_map()
635 map = internalized ? roots.internalized_string_map() : roots.string_map();
643 SerializePrologue(space, allocation_size, map);
654 // Serialize string header (except for map).
731 InstanceType instance_type = object_->map(cage_base).instance_type();
808 Map map = object_->map(serializer_->cage_base());
809 int size = object_->SizeFromMap(map);
819 if (map == ReadOnlyRoots(isolate()).descriptor_array_map()) {
820 map = ReadOnlyRoots(isolate()).strong_descriptor_array_map();
823 SerializePrologue(space, size, map);
829 SerializeContent(map, size);
851 void Serializer::ObjectSerializer::SerializeContent(Map map, int size) {
856 SerializeCode(map, size);
859 raw.IterateBody(map, size, this);
1225 void Serializer::ObjectSerializer::SerializeCode(Map map, int size) {