Lines Matching refs:map
39 // pointers to specialized visit functions. Each map has the visitor_id
91 V(Map) \
130 static VisitorId GetVisitorId(Map* map) {
131 return GetVisitorId(map->instance_type(), map->instance_size());
170 inline Callback GetVisitor(Map* map) {
171 return reinterpret_cast<Callback>(callbacks_[map->visitor_id()]);
231 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) {
232 int object_size = BodyDescriptor::SizeOf(map, object);
234 map->GetHeap(),
242 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) {
243 ASSERT(BodyDescriptor::SizeOf(map, object) == object_size);
245 map->GetHeap(),
257 INLINE(static ReturnType Visit(Map* map, HeapObject* object)) {
259 map->GetHeap(),
289 INLINE(static int IterateBody(Map* map, HeapObject* obj)) {
290 return table_.GetVisitor(map)(map, obj);
298 INLINE(static int VisitJSFunction(Map* map, HeapObject* object)) {
299 Heap* heap = map->GetHeap();
315 INLINE(static int VisitByteArray(Map* map, HeapObject* object)) {
319 INLINE(static int VisitFixedDoubleArray(Map* map, HeapObject* object)) {
324 INLINE(static int VisitJSObject(Map* map, HeapObject* object)) {
325 return JSObjectVisitor::Visit(map, object);
328 INLINE(static int VisitSeqOneByteString(Map* map, HeapObject* object)) {
330 SeqOneByteStringSize(map->instance_type());
333 INLINE(static int VisitSeqTwoByteString(Map* map, HeapObject* object)) {
335 SeqTwoByteStringSize(map->instance_type());
338 INLINE(static int VisitFreeSpace(Map* map, HeapObject* object)) {
342 INLINE(static int VisitJSArrayBuffer(Map* map, HeapObject* object));
343 INLINE(static int VisitJSTypedArray(Map* map, HeapObject* object));
344 INLINE(static int VisitJSDataView(Map* map, HeapObject* object));
349 static inline int VisitSpecialized(Map* map, HeapObject* object) {
353 INLINE(static int Visit(Map* map, HeapObject* object)) {
354 return map->instance_size();
366 typedef int (*Callback)(Map* map, HeapObject* object);
396 INLINE(static void IterateBody(Map* map, HeapObject* obj)) {
397 table_.GetVisitor(map)(map, obj);
400 INLINE(static void VisitPropertyCell(Map* map, HeapObject* object));
416 INLINE(static void VisitMap(Map* map, HeapObject* object));
417 INLINE(static void VisitCode(Map* map, HeapObject* object));
418 INLINE(static void VisitSharedFunctionInfo(Map* map, HeapObject* object));
419 INLINE(static void VisitJSFunction(Map* map, HeapObject* object));
420 INLINE(static void VisitJSRegExp(Map* map, HeapObject* object));
421 INLINE(static void VisitJSArrayBuffer(Map* map, HeapObject* object));
422 INLINE(static void VisitJSTypedArray(Map* map, HeapObject* object));
423 INLINE(static void VisitJSDataView(Map* map, HeapObject* object));
424 INLINE(static void VisitNativeContext(Map* map, HeapObject* object));
426 // Mark pointers in a Map and its TransitionArray together, possibly
428 Map* map);
445 static inline void VisitSpecialized(Map* map, HeapObject* object) {
448 INLINE(static void Visit(Map* map, HeapObject* object)) {
464 typedef void (*Callback)(Map* map, HeapObject* object);