37 static inline bool IsShortcutCandidate(
int type) {
49 return kVisitSeqOneByteString;
51 return kVisitSeqTwoByteString;
55 if (IsShortcutCandidate(instance_type)) {
56 return kVisitShortcutCandidate;
58 return kVisitConsString;
62 return kVisitSlicedString;
66 kVisitDataObjectGeneric,
72 switch (instance_type) {
74 return kVisitByteArray;
77 return kVisitFreeSpace;
80 return kVisitFixedArray;
83 return kVisitFixedDoubleArray;
86 return kVisitConstantPoolArray;
101 return kVisitPropertyCell;
114 return kVisitJSWeakMap;
117 return kVisitJSWeakSet;
120 return kVisitJSRegExp;
123 return kVisitSharedFunctionInfo;
137 kVisitDataObjectGeneric,
144 return kVisitDataObjectGeneric;
147 return kVisitJSArrayBuffer;
150 return kVisitJSTypedArray;
153 return kVisitJSDataView;
167 kVisitJSObjectGeneric,
171 return kVisitJSFunction;
174 #define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size) \
175 case EXTERNAL_##TYPE##_ARRAY_TYPE:
179 kVisitDataObjectGeneric,
181 #undef EXTERNAL_ARRAY_CASE
191 return kVisitFixedTypedArray;
194 return kVisitFixedFloat64Array;
196 #define MAKE_STRUCT_CASE(NAME, Name, name) \
199 #undef MAKE_STRUCT_CASE
201 return kVisitAllocationSite;
const uint32_t kShortcutTypeTag
#define EXTERNAL_ARRAY_CASE(Type, type, TYPE, ctype, size)
static VisitorId GetVisitorIdForSize(VisitorId base, VisitorId generic, int object_size)
const uint32_t kStringRepresentationMask
#define MAKE_STRUCT_CASE(NAME, Name, name)
const uint32_t kShortcutTypeMask
const uint32_t kOneByteStringTag
static VisitorId GetVisitorId(int instance_type, int instance_size)
const uint32_t kStringEncodingMask