Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index ae75ec15de9a7c7f5e64d8c800df2d93af6e092b..afa806c4ec7d8e537f9114ea296055bb1b11c64d 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -2050,16 +2050,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
(instr->representation().IsDouble() && |
((elements_kind == EXTERNAL_FLOAT_ELEMENTS) || |
(elements_kind == EXTERNAL_DOUBLE_ELEMENTS)))); |
- // float->double conversion on soft float requires an extra scratch |
- // register. For convenience, just mark the elements register as "UseTemp" |
- // so that it can be used as a temp during the float->double conversion |
- // after it's no longer needed after the float load. |
- bool needs_temp = |
- !CpuFeatures::IsSupported(FPU) && |
- (elements_kind == EXTERNAL_FLOAT_ELEMENTS); |
- LOperand* external_pointer = needs_temp |
- ? UseTempRegister(instr->elements()) |
- : UseRegister(instr->elements()); |
+ LOperand* external_pointer = UseRegister(instr->elements()); |
result = new(zone()) LLoadKeyed(external_pointer, key); |
} |