Index: src/hydrogen-uint32-analysis.cc |
diff --git a/src/hydrogen-uint32-analysis.cc b/src/hydrogen-uint32-analysis.cc |
index c6cbc9bc357988a8e46fcb460b708cc67ddb023b..37f19ebdaff370f19d4b8e801ed9cbc51be9de2a 100644 |
--- a/src/hydrogen-uint32-analysis.cc |
+++ b/src/hydrogen-uint32-analysis.cc |
@@ -10,6 +10,10 @@ |
static bool IsUnsignedLoad(HLoadKeyed* instr) { |
switch (instr->elements_kind()) { |
+ case EXTERNAL_UINT8_ELEMENTS: |
+ case EXTERNAL_UINT16_ELEMENTS: |
+ case EXTERNAL_UINT32_ELEMENTS: |
+ case EXTERNAL_UINT8_CLAMPED_ELEMENTS: |
case UINT8_ELEMENTS: |
case UINT16_ELEMENTS: |
case UINT32_ELEMENTS: |
@@ -46,14 +50,14 @@ |
return true; |
} else if (use->IsStoreKeyed()) { |
HStoreKeyed* store = HStoreKeyed::cast(use); |
- if (store->is_fixed_typed_array()) { |
+ if (store->is_external()) { |
// Storing a value into an external integer array is a bit level |
// operation. |
if (store->value() == val) { |
// Clamping or a conversion to double should have beed inserted. |
- DCHECK(store->elements_kind() != UINT8_CLAMPED_ELEMENTS); |
- DCHECK(store->elements_kind() != FLOAT32_ELEMENTS); |
- DCHECK(store->elements_kind() != FLOAT64_ELEMENTS); |
+ DCHECK(store->elements_kind() != EXTERNAL_UINT8_CLAMPED_ELEMENTS); |
+ DCHECK(store->elements_kind() != EXTERNAL_FLOAT32_ELEMENTS); |
+ DCHECK(store->elements_kind() != EXTERNAL_FLOAT64_ELEMENTS); |
return true; |
} |
} |