37 static inline bool IsShortcutCandidate(
int type) {
49 return kVisitSeqAsciiString;
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;
95 return kVisitPropertyCell;
108 return kVisitJSWeakMap;
111 return kVisitJSRegExp;
114 return kVisitSharedFunctionInfo;
128 kVisitDataObjectGeneric,
132 return kVisitDataObjectGeneric;
145 kVisitJSObjectGeneric,
149 return kVisitJSFunction;
162 kVisitDataObjectGeneric,
165 #define MAKE_STRUCT_CASE(NAME, Name, name) \
168 #undef MAKE_STRUCT_CASE
const uint32_t kShortcutTypeTag
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
static VisitorId GetVisitorId(int instance_type, int instance_size)
const uint32_t kAsciiStringTag
const uint32_t kStringEncodingMask