Index: src/elements-kind.h |
diff --git a/src/elements-kind.h b/src/elements-kind.h |
index 3d55105c373977ba54ce2790b756d891b1129b18..5a3f00dcce9dfae14becddba0c61b9990f514725 100644 |
--- a/src/elements-kind.h |
+++ b/src/elements-kind.h |
@@ -53,15 +53,15 @@ enum ElementsKind { |
DICTIONARY_ELEMENTS, |
NON_STRICT_ARGUMENTS_ELEMENTS, |
// The "fast" kind for external arrays |
- EXTERNAL_BYTE_ELEMENTS, |
- EXTERNAL_UNSIGNED_BYTE_ELEMENTS, |
- EXTERNAL_SHORT_ELEMENTS, |
- EXTERNAL_UNSIGNED_SHORT_ELEMENTS, |
- EXTERNAL_INT_ELEMENTS, |
- EXTERNAL_UNSIGNED_INT_ELEMENTS, |
- EXTERNAL_FLOAT_ELEMENTS, |
- EXTERNAL_DOUBLE_ELEMENTS, |
- EXTERNAL_PIXEL_ELEMENTS, |
+ EXTERNAL_INT8_ELEMENTS, |
+ EXTERNAL_UINT8_ELEMENTS, |
+ EXTERNAL_INT16_ELEMENTS, |
+ EXTERNAL_UINT16_ELEMENTS, |
+ EXTERNAL_INT32_ELEMENTS, |
+ EXTERNAL_UINT32_ELEMENTS, |
+ EXTERNAL_FLOAT32_ELEMENTS, |
+ EXTERNAL_FLOAT64_ELEMENTS, |
+ EXTERNAL_UINT8_CLAMPED_ELEMENTS, |
// Fixed typed arrays |
UINT8_ELEMENTS, |
@@ -79,8 +79,8 @@ enum ElementsKind { |
LAST_ELEMENTS_KIND = UINT8_CLAMPED_ELEMENTS, |
FIRST_FAST_ELEMENTS_KIND = FAST_SMI_ELEMENTS, |
LAST_FAST_ELEMENTS_KIND = FAST_HOLEY_DOUBLE_ELEMENTS, |
- FIRST_EXTERNAL_ARRAY_ELEMENTS_KIND = EXTERNAL_BYTE_ELEMENTS, |
- LAST_EXTERNAL_ARRAY_ELEMENTS_KIND = EXTERNAL_PIXEL_ELEMENTS, |
+ FIRST_EXTERNAL_ARRAY_ELEMENTS_KIND = EXTERNAL_INT8_ELEMENTS, |
+ LAST_EXTERNAL_ARRAY_ELEMENTS_KIND = EXTERNAL_UINT8_CLAMPED_ELEMENTS, |
FIRST_FIXED_TYPED_ARRAY_ELEMENTS_KIND = UINT8_ELEMENTS, |
LAST_FIXED_TYPED_ARRAY_ELEMENTS_KIND = UINT8_CLAMPED_ELEMENTS, |
TERMINAL_FAST_ELEMENTS_KIND = FAST_HOLEY_ELEMENTS |
@@ -135,8 +135,8 @@ inline bool IsFastDoubleElementsKind(ElementsKind kind) { |
inline bool IsExternalFloatOrDoubleElementsKind(ElementsKind kind) { |
- return kind == EXTERNAL_DOUBLE_ELEMENTS || |
- kind == EXTERNAL_FLOAT_ELEMENTS; |
+ return kind == EXTERNAL_FLOAT64_ELEMENTS || |
+ kind == EXTERNAL_FLOAT32_ELEMENTS; |
} |