Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 32daff096c985891a27df6495cb5cddf96ea0ac4..31c7e8d965943fee0c59ae0672da9b5fb3d93c60 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -2133,16 +2133,7 @@ LInstruction* LChunkBuilder::DoLoadKeyed(HLoadKeyed* instr) { |
(instr->representation().IsDouble() && |
((elements_kind == EXTERNAL_FLOAT_ELEMENTS) || |
(elements_kind == EXTERNAL_DOUBLE_ELEMENTS)))); |
- // float->double conversion on non-VFP2 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(VFP2) && |
- (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); |
} |