Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 8a5f09a9b1602a33297c975a1bc51abe1def254b..5be849f9132b53a2c2aa0c09ebe6772c8ecd54be 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -4531,11 +4531,8 @@ void LCodeGen::DoInteger32ToDouble(LInteger32ToDouble* instr) { |
void LCodeGen::DoUint32ToDouble(LUint32ToDouble* instr) { |
LOperand* input = instr->value(); |
LOperand* output = instr->result(); |
- LOperand* temp = instr->temp(); |
- __ LoadUint32(ToDoubleRegister(output), |
- ToRegister(input), |
- ToDoubleRegister(temp)); |
+ __ LoadUint32(ToDoubleRegister(output), ToRegister(input)); |
} |
@@ -4582,8 +4579,7 @@ void LCodeGen::DoDeferredNumberTagU(LNumberTagU* instr) { |
// Load value into temp_xmm which will be preserved across potential call to |
// runtime (MacroAssembler::EnterExitFrameEpilogue preserves only allocatable |
// XMM registers on x64). |
- XMMRegister xmm_scratch = double_scratch0(); |
- __ LoadUint32(temp_xmm, reg, xmm_scratch); |
+ __ LoadUint32(temp_xmm, reg); |
if (FLAG_inline_new) { |
__ AllocateHeapNumber(reg, tmp, &slow); |