Home | History | Annotate | Download | only in src

Lines Matching refs:map

39 // pointers to specialized visit functions. Each map has the visitor_id
124 static VisitorId GetVisitorId(Map* map) {
125 return GetVisitorId(map->instance_type(), map->instance_size());
164 inline Callback GetVisitor(Map* map) {
165 return reinterpret_cast<Callback>(callbacks_[map->visitor_id()]);
225 static inline ReturnType Visit(Map* map, HeapObject* object) {
226 int object_size = BodyDescriptor::SizeOf(map, object);
228 map->GetHeap(),
236 static inline ReturnType VisitSpecialized(Map* map, HeapObject* object) {
237 ASSERT(BodyDescriptor::SizeOf(map, object) == object_size);
239 map->GetHeap(),
251 static inline ReturnType Visit(Map* map, HeapObject* object) {
253 map->GetHeap(),
283 static inline int IterateBody(Map* map, HeapObject* obj) {
284 return table_.GetVisitor(map)(map, obj);
292 static inline int VisitByteArray(Map* map, HeapObject* object) {
296 static inline int VisitFixedDoubleArray(Map* map, HeapObject* object) {
301 static inline int VisitJSObject(Map* map, HeapObject* object) {
302 return JSObjectVisitor::Visit(map, object);
305 static inline int VisitSeqAsciiString(Map* map, HeapObject* object) {
307 SeqAsciiStringSize(map->instance_type());
310 static inline int VisitSeqTwoByteString(Map* map, HeapObject* object) {
312 SeqTwoByteStringSize(map->instance_type());
315 static inline int VisitFreeSpace(Map* map, HeapObject* object) {
322 static inline int VisitSpecialized(Map* map, HeapObject* object) {
326 static inline int Visit(Map* map, HeapObject* object) {
327 return map->instance_size();
339 typedef int (*Callback)(Map* map, HeapObject* object);