Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index b278c70b30a9c05349c96dfa7d1666ca63b5c14e..1144eba9d6e489d30c8094df843e591f14fd62ba 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -1605,9 +1605,9 @@ inline static bool ExternalArrayOpRequiresTemp( |
// an index cannot fold the scale operation into a load and need an extra |
// temp register to do the work. |
return key_representation.IsSmi() && |
- (elements_kind == EXTERNAL_BYTE_ELEMENTS || |
- elements_kind == EXTERNAL_UNSIGNED_BYTE_ELEMENTS || |
- elements_kind == EXTERNAL_PIXEL_ELEMENTS || |
+ (elements_kind == EXTERNAL_INT8_ELEMENTS || |
+ elements_kind == EXTERNAL_UINT8_ELEMENTS || |
+ elements_kind == EXTERNAL_UINT8_CLAMPED_ELEMENTS || |
elements_kind == UINT8_ELEMENTS || |
elements_kind == INT8_ELEMENTS || |
elements_kind == UINT8_CLAMPED_ELEMENTS); |