Lines Matching refs:kind

76 const char* ElementsKindToString(ElementsKind kind);
85 inline bool IsDictionaryElementsKind(ElementsKind kind) { in IsDictionaryElementsKind() argument
86 return kind == DICTIONARY_ELEMENTS; in IsDictionaryElementsKind()
90 inline bool IsSloppyArgumentsElements(ElementsKind kind) { in IsSloppyArgumentsElements() argument
91 return kind == SLOPPY_ARGUMENTS_ELEMENTS; in IsSloppyArgumentsElements()
95 inline bool IsExternalArrayElementsKind(ElementsKind kind) { in IsExternalArrayElementsKind() argument
96 return kind >= FIRST_EXTERNAL_ARRAY_ELEMENTS_KIND && in IsExternalArrayElementsKind()
97 kind <= LAST_EXTERNAL_ARRAY_ELEMENTS_KIND; in IsExternalArrayElementsKind()
101 inline bool IsTerminalElementsKind(ElementsKind kind) { in IsTerminalElementsKind() argument
102 return kind == TERMINAL_FAST_ELEMENTS_KIND || in IsTerminalElementsKind()
103 IsExternalArrayElementsKind(kind); in IsTerminalElementsKind()
107 inline bool IsFixedTypedArrayElementsKind(ElementsKind kind) { in IsFixedTypedArrayElementsKind() argument
108 return kind >= FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND && in IsFixedTypedArrayElementsKind()
109 kind <= LAST_FIXED_TYPED_ARRAY_ELEMENTS_KIND; in IsFixedTypedArrayElementsKind()
113 inline bool IsFastElementsKind(ElementsKind kind) { in IsFastElementsKind() argument
115 return kind <= FAST_HOLEY_DOUBLE_ELEMENTS; in IsFastElementsKind()
119 inline bool IsTransitionElementsKind(ElementsKind kind) { in IsTransitionElementsKind() argument
120 return IsFastElementsKind(kind) || IsFixedTypedArrayElementsKind(kind); in IsTransitionElementsKind()
124 inline bool IsFastDoubleElementsKind(ElementsKind kind) { in IsFastDoubleElementsKind() argument
125 return kind == FAST_DOUBLE_ELEMENTS || in IsFastDoubleElementsKind()
126 kind == FAST_HOLEY_DOUBLE_ELEMENTS; in IsFastDoubleElementsKind()
130 inline bool IsExternalFloatOrDoubleElementsKind(ElementsKind kind) { in IsExternalFloatOrDoubleElementsKind() argument
131 return kind == EXTERNAL_FLOAT64_ELEMENTS || in IsExternalFloatOrDoubleElementsKind()
132 kind == EXTERNAL_FLOAT32_ELEMENTS; in IsExternalFloatOrDoubleElementsKind()
136 inline bool IsFixedFloatElementsKind(ElementsKind kind) { in IsFixedFloatElementsKind() argument
137 return kind == FLOAT32_ELEMENTS || kind == FLOAT64_ELEMENTS; in IsFixedFloatElementsKind()
141 inline bool IsDoubleOrFloatElementsKind(ElementsKind kind) { in IsDoubleOrFloatElementsKind() argument
142 return IsFastDoubleElementsKind(kind) || in IsDoubleOrFloatElementsKind()
143 IsExternalFloatOrDoubleElementsKind(kind) || in IsDoubleOrFloatElementsKind()
144 IsFixedFloatElementsKind(kind); in IsDoubleOrFloatElementsKind()
148 inline bool IsFastSmiOrObjectElementsKind(ElementsKind kind) { in IsFastSmiOrObjectElementsKind() argument
149 return kind == FAST_SMI_ELEMENTS || in IsFastSmiOrObjectElementsKind()
150 kind == FAST_HOLEY_SMI_ELEMENTS || in IsFastSmiOrObjectElementsKind()
151 kind == FAST_ELEMENTS || in IsFastSmiOrObjectElementsKind()
152 kind == FAST_HOLEY_ELEMENTS; in IsFastSmiOrObjectElementsKind()
156 inline bool IsFastSmiElementsKind(ElementsKind kind) { in IsFastSmiElementsKind() argument
157 return kind == FAST_SMI_ELEMENTS || in IsFastSmiElementsKind()
158 kind == FAST_HOLEY_SMI_ELEMENTS; in IsFastSmiElementsKind()
162 inline bool IsFastObjectElementsKind(ElementsKind kind) { in IsFastObjectElementsKind() argument
163 return kind == FAST_ELEMENTS || in IsFastObjectElementsKind()
164 kind == FAST_HOLEY_ELEMENTS; in IsFastObjectElementsKind()
168 inline bool IsFastHoleyElementsKind(ElementsKind kind) { in IsFastHoleyElementsKind() argument
169 return kind == FAST_HOLEY_SMI_ELEMENTS || in IsFastHoleyElementsKind()
170 kind == FAST_HOLEY_DOUBLE_ELEMENTS || in IsFastHoleyElementsKind()
171 kind == FAST_HOLEY_ELEMENTS; in IsFastHoleyElementsKind()
175 inline bool IsHoleyElementsKind(ElementsKind kind) { in IsHoleyElementsKind() argument
176 return IsFastHoleyElementsKind(kind) || in IsHoleyElementsKind()
177 kind == DICTIONARY_ELEMENTS; in IsHoleyElementsKind()
181 inline bool IsFastPackedElementsKind(ElementsKind kind) { in IsFastPackedElementsKind() argument
182 return kind == FAST_SMI_ELEMENTS || in IsFastPackedElementsKind()
183 kind == FAST_DOUBLE_ELEMENTS || in IsFastPackedElementsKind()
184 kind == FAST_ELEMENTS; in IsFastPackedElementsKind()