diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc index 6987d452fd..0e851bc175 100644 --- a/src/x64/lithium-x64.cc +++ b/src/x64/lithium-x64.cc @@ -1891,7 +1891,7 @@ LInstruction* LChunkBuilder::DoStoreKeyedSpecializedArrayElement( array_type == kExternalFloatArray; LOperand* val = val_is_temp_register ? UseTempRegister(instr->value()) - : UseRegister(instr->key()); + : UseRegister(instr->value()); LOperand* key = UseRegister(instr->key()); return new LStoreKeyedSpecializedArrayElement(external_pointer,