Lines Matching defs:object
76 // The base class for visitors that need to dispatch on object type. The default
77 // behavior of all visit functions is to iterate body of the given object using
78 // the BodyDescriptor of the object.
80 // The visit functions return the size of the object cast to ResultType.
95 V8_INLINE ResultType Visit(HeapObject object);
96 V8_INLINE ResultType Visit(Map map, HeapObject object);
97 // A callback for visiting the map pointer in the object header.
101 // A guard predicate for visiting the object.
103 // functions bailout from iterating the object pointers.
104 V8_INLINE bool ShouldVisit(HeapObject object) { return true; }
112 V8_INLINE ResultType Visit##TypeName(Map map, TypeName object);
116 V8_INLINE ResultType VisitShortcutCandidate(Map map, ConsString object);
117 V8_INLINE ResultType VisitDataObject(Map map, HeapObject object);
118 V8_INLINE ResultType VisitJSObjectFast(Map map, JSObject object);
119 V8_INLINE ResultType VisitJSApiObject(Map map, JSObject object);
120 V8_INLINE ResultType VisitStruct(Map map, HeapObject object);
121 V8_INLINE ResultType VisitFreeSpace(Map map, FreeSpace object);
124 static V8_INLINE T Cast(HeapObject object);
136 V8_INLINE int VisitNativeContext(Map map, NativeContext object);
137 V8_INLINE int VisitJSApiObject(Map map, JSObject object);
139 int VisitBytecodeArray(Map map, BytecodeArray object) {
144 int VisitSharedFunctionInfo(Map map, SharedFunctionInfo object);