Lines Matching refs:kind
85 const char* ElementsKindToString(ElementsKind kind);
94 inline bool IsDictionaryElementsKind(ElementsKind kind) { in IsDictionaryElementsKind() argument
95 return kind == DICTIONARY_ELEMENTS; in IsDictionaryElementsKind()
98 inline bool IsSloppyArgumentsElementsKind(ElementsKind kind) { in IsSloppyArgumentsElementsKind() argument
99 return kind == FAST_SLOPPY_ARGUMENTS_ELEMENTS || in IsSloppyArgumentsElementsKind()
100 kind == SLOW_SLOPPY_ARGUMENTS_ELEMENTS; in IsSloppyArgumentsElementsKind()
103 inline bool IsStringWrapperElementsKind(ElementsKind kind) { in IsStringWrapperElementsKind() argument
104 return kind == FAST_STRING_WRAPPER_ELEMENTS || in IsStringWrapperElementsKind()
105 kind == SLOW_STRING_WRAPPER_ELEMENTS; in IsStringWrapperElementsKind()
108 inline bool IsFixedTypedArrayElementsKind(ElementsKind kind) { in IsFixedTypedArrayElementsKind() argument
109 return kind >= FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND && in IsFixedTypedArrayElementsKind()
110 kind <= LAST_FIXED_TYPED_ARRAY_ELEMENTS_KIND; in IsFixedTypedArrayElementsKind()
113 inline bool IsTerminalElementsKind(ElementsKind kind) { in IsTerminalElementsKind() argument
114 return kind == TERMINAL_FAST_ELEMENTS_KIND || in IsTerminalElementsKind()
115 IsFixedTypedArrayElementsKind(kind); in IsTerminalElementsKind()
118 inline bool IsFastElementsKind(ElementsKind kind) { in IsFastElementsKind() argument
120 return kind <= HOLEY_DOUBLE_ELEMENTS; in IsFastElementsKind()
123 inline bool IsTransitionElementsKind(ElementsKind kind) { in IsTransitionElementsKind() argument
124 return IsFastElementsKind(kind) || IsFixedTypedArrayElementsKind(kind) || in IsTransitionElementsKind()
125 kind == FAST_SLOPPY_ARGUMENTS_ELEMENTS || in IsTransitionElementsKind()
126 kind == FAST_STRING_WRAPPER_ELEMENTS; in IsTransitionElementsKind()
129 inline bool IsDoubleElementsKind(ElementsKind kind) { in IsDoubleElementsKind() argument
130 return kind == PACKED_DOUBLE_ELEMENTS || kind == HOLEY_DOUBLE_ELEMENTS; in IsDoubleElementsKind()
134 inline bool IsFixedFloatElementsKind(ElementsKind kind) { in IsFixedFloatElementsKind() argument
135 return kind == FLOAT32_ELEMENTS || kind == FLOAT64_ELEMENTS; in IsFixedFloatElementsKind()
139 inline bool IsDoubleOrFloatElementsKind(ElementsKind kind) { in IsDoubleOrFloatElementsKind() argument
140 return IsDoubleElementsKind(kind) || IsFixedFloatElementsKind(kind); in IsDoubleOrFloatElementsKind()
143 inline bool IsSmiOrObjectElementsKind(ElementsKind kind) { in IsSmiOrObjectElementsKind() argument
144 return kind == PACKED_SMI_ELEMENTS || kind == HOLEY_SMI_ELEMENTS || in IsSmiOrObjectElementsKind()
145 kind == PACKED_ELEMENTS || kind == HOLEY_ELEMENTS; in IsSmiOrObjectElementsKind()
148 inline bool IsSmiElementsKind(ElementsKind kind) { in IsSmiElementsKind() argument
149 return kind == PACKED_SMI_ELEMENTS || kind == HOLEY_SMI_ELEMENTS; in IsSmiElementsKind()
152 inline bool IsFastNumberElementsKind(ElementsKind kind) { in IsFastNumberElementsKind() argument
153 return IsSmiElementsKind(kind) || IsDoubleElementsKind(kind); in IsFastNumberElementsKind()
156 inline bool IsObjectElementsKind(ElementsKind kind) { in IsObjectElementsKind() argument
157 return kind == PACKED_ELEMENTS || kind == HOLEY_ELEMENTS; in IsObjectElementsKind()
160 inline bool IsHoleyElementsKind(ElementsKind kind) { in IsHoleyElementsKind() argument
161 return kind == HOLEY_SMI_ELEMENTS || kind == HOLEY_DOUBLE_ELEMENTS || in IsHoleyElementsKind()
162 kind == HOLEY_ELEMENTS; in IsHoleyElementsKind()
165 inline bool IsHoleyOrDictionaryElementsKind(ElementsKind kind) { in IsHoleyOrDictionaryElementsKind() argument
166 return IsHoleyElementsKind(kind) || kind == DICTIONARY_ELEMENTS; in IsHoleyOrDictionaryElementsKind()
170 inline bool IsFastPackedElementsKind(ElementsKind kind) { in IsFastPackedElementsKind() argument
171 return kind == PACKED_SMI_ELEMENTS || kind == PACKED_DOUBLE_ELEMENTS || in IsFastPackedElementsKind()
172 kind == PACKED_ELEMENTS; in IsFastPackedElementsKind()