| Index: src/mips/lithium-codegen-mips.cc
|
| diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc
|
| index 2c25c34e0c756eddc8c3091e65f7adcf136aaf28..8f22fee10bcdfdbae03bd9d3607397f995db97c6 100644
|
| --- a/src/mips/lithium-codegen-mips.cc
|
| +++ b/src/mips/lithium-codegen-mips.cc
|
| @@ -4187,6 +4187,7 @@ void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
|
| DoubleRegister value = ToDoubleRegister(instr->value());
|
| Register elements = ToRegister(instr->elements());
|
| Register scratch = scratch0();
|
| + Register scratch_1 = scratch1();
|
| DoubleRegister double_scratch = double_scratch0();
|
| bool key_is_constant = instr->key()->IsConstantOperand();
|
| int base_offset = instr->base_offset();
|
| @@ -4218,8 +4219,9 @@ void LCodeGen::DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr) {
|
|
|
| // Only load canonical NaN if the comparison above set the overflow.
|
| __ bind(&is_nan);
|
| - __ LoadRoot(at, Heap::kNanValueRootIndex);
|
| - __ ldc1(double_scratch, FieldMemOperand(at, HeapNumber::kValueOffset));
|
| + __ LoadRoot(scratch_1, Heap::kNanValueRootIndex);
|
| + __ ldc1(double_scratch,
|
| + FieldMemOperand(scratch_1, HeapNumber::kValueOffset));
|
| __ sdc1(double_scratch, MemOperand(scratch, 0));
|
| __ Branch(&done);
|
| }
|
|
|