Lines Matching refs:ElementsKind
14 enum ElementsKind {
53 // Sentinel ElementsKind for objects with no elements.
56 // Derived constants from ElementsKind.
74 int ElementsKindToShiftSize(ElementsKind elements_kind);
75 int GetDefaultHeaderSizeForElementsKind(ElementsKind elements_kind);
76 const char* ElementsKindToString(ElementsKind kind);
78 inline ElementsKind GetInitialFastElementsKind() { return FAST_SMI_ELEMENTS; }
80 ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number);
81 int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind);
83 ElementsKind GetNextTransitionElementsKind(ElementsKind elements_kind);
85 inline bool IsDictionaryElementsKind(ElementsKind kind) {
90 inline bool IsSloppyArgumentsElements(ElementsKind kind) {
95 inline bool IsStringWrapperElementsKind(ElementsKind kind) {
100 inline bool IsFixedTypedArrayElementsKind(ElementsKind kind) {
106 inline bool IsTerminalElementsKind(ElementsKind kind) {
112 inline bool IsFastElementsKind(ElementsKind kind) {
118 inline bool IsTransitionElementsKind(ElementsKind kind) {
125 inline bool IsFastDoubleElementsKind(ElementsKind kind) {
131 inline bool IsFixedFloatElementsKind(ElementsKind kind) {
136 inline bool IsDoubleOrFloatElementsKind(ElementsKind kind) {
141 inline bool IsFastSmiOrObjectElementsKind(ElementsKind kind) {
149 inline bool IsFastSmiElementsKind(ElementsKind kind) {
155 inline bool IsFastObjectElementsKind(ElementsKind kind) {
161 inline bool IsFastHoleyElementsKind(ElementsKind kind) {
168 inline bool IsHoleyElementsKind(ElementsKind kind) {
174 inline bool IsFastPackedElementsKind(ElementsKind kind) {
180 inline ElementsKind GetPackedElementsKind(ElementsKind holey_kind) {
194 inline ElementsKind GetHoleyElementsKind(ElementsKind packed_kind) {
208 inline ElementsKind FastSmiToObjectElementsKind(ElementsKind from_kind) {
216 inline bool IsSimpleMapChangeTransition(ElementsKind from_kind,
217 ElementsKind to_kind) {
224 bool IsMoreGeneralElementsKindTransition(ElementsKind from_kind,
225 ElementsKind to_kind);
228 inline ElementsKind GetMoreGeneralElementsKind(ElementsKind from_kind,
229 ElementsKind to_kind) {
237 inline bool IsTransitionableFastElementsKind(ElementsKind from_kind) {