Index: src/elements-kind.cc |
=================================================================== |
--- src/elements-kind.cc (revision 15486) |
+++ src/elements-kind.cc (working copy) |
@@ -83,6 +83,7 @@ |
return fast_elements_kind_sequence.Get()[sequence_number]; |
} |
+ |
int GetSequenceIndexFromFastElementsKind(ElementsKind elements_kind) { |
for (int i = 0; i < kFastElementsKindCount; ++i) { |
if (fast_elements_kind_sequence.Get()[i] == elements_kind) { |