Index: src/elements-kind.h |
diff --git a/src/elements-kind.h b/src/elements-kind.h |
index d2605e8b068f80f09a1f60d568fb34225a734073..32108f505cbc203bf23510139f48457c2627d60a 100644 |
--- a/src/elements-kind.h |
+++ b/src/elements-kind.h |
@@ -100,10 +100,10 @@ void PrintElementsKind(FILE* out, ElementsKind kind); |
ElementsKind GetInitialFastElementsKind(); |
-ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_number); |
+ElementsKind GetFastElementsKindFromSequenceIndex(int sequence_index); |
+ |
int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind); |
-ElementsKind GetNextTransitionElementsKind(ElementsKind elements_kind); |
inline bool IsDictionaryElementsKind(ElementsKind kind) { |
return kind == DICTIONARY_ELEMENTS; |
@@ -116,12 +116,6 @@ inline bool IsExternalArrayElementsKind(ElementsKind kind) { |
} |
-inline bool IsTerminalElementsKind(ElementsKind kind) { |
- return kind == TERMINAL_FAST_ELEMENTS_KIND || |
- IsExternalArrayElementsKind(kind); |
-} |
- |
- |
inline bool IsFixedTypedArrayElementsKind(ElementsKind kind) { |
return kind >= FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND && |
kind <= LAST_FIXED_TYPED_ARRAY_ELEMENTS_KIND; |
@@ -134,11 +128,6 @@ inline bool IsFastElementsKind(ElementsKind kind) { |
} |
-inline bool IsTransitionElementsKind(ElementsKind kind) { |
- return IsFastElementsKind(kind) || IsFixedTypedArrayElementsKind(kind); |
-} |
- |
- |
inline bool IsFastDoubleElementsKind(ElementsKind kind) { |
return kind == FAST_DOUBLE_ELEMENTS || |
kind == FAST_HOLEY_DOUBLE_ELEMENTS; |