Index: src/elements-kind.h |
diff --git a/src/elements-kind.h b/src/elements-kind.h |
index da151924be20dd389a7e2995db505e9c00166fff..f5280d66f0ac93ce376386a977949c2ec256f084 100644 |
--- a/src/elements-kind.h |
+++ b/src/elements-kind.h |
@@ -77,6 +77,10 @@ const int kElementsKindCount = LAST_ELEMENTS_KIND - FIRST_ELEMENTS_KIND + 1; |
const int kFastElementsKindCount = LAST_FAST_ELEMENTS_KIND - |
FIRST_FAST_ELEMENTS_KIND + 1; |
+// The number to add to a packed elements kind to reach a holey elements kind |
+const int kFastElementsKindPackedToHoley = |
+ FAST_HOLEY_SMI_ELEMENTS - FAST_SMI_ELEMENTS; |
+ |
const char* ElementsKindToString(ElementsKind kind); |
void PrintElementsKind(FILE* out, ElementsKind kind); |