| Index: src/crankshaft/mips/lithium-codegen-mips.cc
|
| diff --git a/src/crankshaft/mips/lithium-codegen-mips.cc b/src/crankshaft/mips/lithium-codegen-mips.cc
|
| index 44b0a499d0c7a6728718e54f4227e68a7e901e27..e4397a6ac0a5291936e8b2d4a4bb91cef79c4d8c 100644
|
| --- a/src/crankshaft/mips/lithium-codegen-mips.cc
|
| +++ b/src/crankshaft/mips/lithium-codegen-mips.cc
|
| @@ -4507,9 +4507,7 @@ void LCodeGen::DoUint32ToDouble(LUint32ToDouble* instr) {
|
| LOperand* input = instr->value();
|
| LOperand* output = instr->result();
|
|
|
| - FPURegister dbl_scratch = double_scratch0();
|
| - __ mtc1(ToRegister(input), dbl_scratch);
|
| - __ Cvt_d_uw(ToDoubleRegister(output), dbl_scratch, f22);
|
| + __ Cvt_d_uw(ToDoubleRegister(output), ToRegister(input), f22);
|
| }
|
|
|
|
|
| @@ -4594,8 +4592,7 @@ void LCodeGen::DoDeferredNumberTagIU(LInstruction* instr,
|
| __ mtc1(src, dbl_scratch);
|
| __ cvt_d_w(dbl_scratch, dbl_scratch);
|
| } else {
|
| - __ mtc1(src, dbl_scratch);
|
| - __ Cvt_d_uw(dbl_scratch, dbl_scratch, f22);
|
| + __ Cvt_d_uw(dbl_scratch, src, f22);
|
| }
|
|
|
| if (FLAG_inline_new) {
|
|
|