Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 49f7b64f14e6b359302833d3f2be19f9087443e9..d51c336d4baca58b51d251b4a8e6fb97aa46dff2 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -2038,7 +2038,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
DefineAsRegister(result); |
bool can_deoptimize = instr->RequiresHoleCheck() || |
- (elements_kind == EXTERNAL_UNSIGNED_INT_ELEMENTS) || |
+ (elements_kind == EXTERNAL_UINT32_ELEMENTS) || |
(elements_kind == UINT32_ELEMENTS); |
// An unsigned int array load might overflow and cause a deopt, make sure it |
// has an environment. |
@@ -2099,8 +2099,8 @@ LInstruction* LChunkBuilder::DoStoreKeyed(HStoreKeyed* instr) { |
(instr->is_external() && |
instr->elements()->representation().IsExternal())); |
bool val_is_temp_register = |
- elements_kind == EXTERNAL_PIXEL_ELEMENTS || |
- elements_kind == EXTERNAL_FLOAT_ELEMENTS || |
+ elements_kind == EXTERNAL_UINT8_CLAMPED_ELEMENTS || |
+ elements_kind == EXTERNAL_FLOAT32_ELEMENTS || |
elements_kind == FLOAT32_ELEMENTS; |
LOperand* val = val_is_temp_register ? UseTempRegister(instr->value()) |
: UseRegister(instr->value()); |