Lines Matching refs:object

22 T* HeapVisitor<ResultType, ConcreteVisitor>::Cast(HeapObject* object) {  in Cast()  argument
23 return T::cast(object); in Cast()
27 ResultType HeapVisitor<ResultType, ConcreteVisitor>::Visit(HeapObject* object) { in Visit() argument
28 return Visit(object->map(), object); in Visit()
33 HeapObject* object) { in Visit() argument
39 ConcreteVisitor::template Cast<type>(object)); in Visit()
44 map, ConcreteVisitor::template Cast<ConsString>(object)); in Visit()
47 map, ConcreteVisitor::template Cast<Context>(object)); in Visit()
49 return visitor->VisitDataObject(map, object); in Visit()
52 map, ConcreteVisitor::template Cast<JSObject>(object)); in Visit()
55 map, ConcreteVisitor::template Cast<JSObject>(object)); in Visit()
57 return visitor->VisitStruct(map, object); in Visit()
59 return visitor->VisitFreeSpace(map, FreeSpace::cast(object)); in Visit()
61 return visitor->VisitWeakArray(map, object); in Visit()
80 Map* map, type* object) { \
82 if (!visitor->ShouldVisit(object)) return ResultType(); \
88 int size = type::BodyDescriptor::SizeOf(map, object); \
90 visitor->VisitMapPointer(object, object->map_slot()); \
91 type::BodyDescriptor::IterateBody(map, object, size, visitor); \
99 Map* map, ConsString* object) { in TYPED_VISITOR_ID_LIST()
100 return static_cast<ConcreteVisitor*>(this)->VisitConsString(map, object); in TYPED_VISITOR_ID_LIST()
105 Map* map, Context* object) { in VisitNativeContext() argument
107 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitNativeContext()
108 int size = Context::BodyDescriptor::SizeOf(map, object); in VisitNativeContext()
110 visitor->VisitMapPointer(object, object->map_slot()); in VisitNativeContext()
111 Context::BodyDescriptor::IterateBody(map, object, size, visitor); in VisitNativeContext()
117 Map* map, HeapObject* object) { in VisitDataObject() argument
119 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitDataObject()
122 visitor->VisitMapPointer(object, object->map_slot()); in VisitDataObject()
128 Map* map, JSObject* object) { in VisitJSObjectFast() argument
130 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitJSObjectFast()
131 int size = JSObject::FastBodyDescriptor::SizeOf(map, object); in VisitJSObjectFast()
133 visitor->VisitMapPointer(object, object->map_slot()); in VisitJSObjectFast()
134 JSObject::FastBodyDescriptor::IterateBody(map, object, size, visitor); in VisitJSObjectFast()
140 Map* map, JSObject* object) { in VisitJSApiObject() argument
142 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitJSApiObject()
143 int size = JSObject::BodyDescriptor::SizeOf(map, object); in VisitJSApiObject()
145 visitor->VisitMapPointer(object, object->map_slot()); in VisitJSApiObject()
146 JSObject::BodyDescriptor::IterateBody(map, object, size, visitor); in VisitJSApiObject()
152 Map* map, HeapObject* object) { in VisitStruct() argument
154 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitStruct()
157 visitor->VisitMapPointer(object, object->map_slot()); in VisitStruct()
158 StructBodyDescriptor::IterateBody(map, object, size, visitor); in VisitStruct()
164 Map* map, FreeSpace* object) { in VisitFreeSpace() argument
166 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitFreeSpace()
168 visitor->VisitMapPointer(object, object->map_slot()); in VisitFreeSpace()
169 return static_cast<ResultType>(FreeSpace::cast(object)->size()); in VisitFreeSpace()
174 JSFunction* object) { in VisitJSFunction() argument
176 int size = JSFunction::BodyDescriptorWeak::SizeOf(map, object); in VisitJSFunction()
177 JSFunction::BodyDescriptorWeak::IterateBody(map, object, size, visitor); in VisitJSFunction()
183 Context* object) { in VisitNativeContext() argument
185 int size = Context::BodyDescriptor::SizeOf(map, object); in VisitNativeContext()
186 Context::BodyDescriptor::IterateBody(map, object, size, visitor); in VisitNativeContext()
192 JSObject* object) { in VisitJSApiObject() argument
194 return visitor->VisitJSObject(map, object); in VisitJSApiObject()
199 Map* map, HeapObject* object) { in VisitWeakArray() argument
201 if (!visitor->ShouldVisit(object)) return ResultType(); in VisitWeakArray()
202 int size = WeakArrayBodyDescriptor::SizeOf(map, object); in VisitWeakArray()
204 visitor->VisitMapPointer(object, object->map_slot()); in VisitWeakArray()
205 WeakArrayBodyDescriptor::IterateBody(map, object, size, visitor); in VisitWeakArray()