Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index b4b44521cd0c0a4dd3227a455b3683f0b4b6f2fa..3e3f9bdbaca0893779c31f3a12a65d20f5ab569e 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -2158,7 +2158,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
DefineAsRegister(result); |
bool can_deoptimize = instr->RequiresHoleCheck() || |
- (elements_kind == EXTERNAL_UNSIGNED_INT_ELEMENTS); |
+ (elements_kind == EXTERNAL_UINT32_ELEMENTS); |
// An unsigned int array load might overflow and cause a deopt, make sure it |
// has an environment. |
return can_deoptimize ? AssignEnvironment(result) : result; |
@@ -2181,9 +2181,9 @@ LOperand* LChunkBuilder::GetStoreKeyedValueOperand(HStoreKeyed* instr) { |
// Determine if we need a byte register in this case for the value. |
bool val_is_fixed_register = |
- 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; |