| Index: src/mips64/lithium-mips64.cc
|
| diff --git a/src/mips64/lithium-mips64.cc b/src/mips64/lithium-mips64.cc
|
| index baeae9f8aa3dd8146e53aa06a062850ffb7935c3..a7af7e0720e96a006bb47c347bf56379491efb6e 100644
|
| --- a/src/mips64/lithium-mips64.cc
|
| +++ b/src/mips64/lithium-mips64.cc
|
| @@ -1641,9 +1641,10 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
| Representation exponent_type = instr->right()->representation();
|
| DCHECK(instr->left()->representation().IsDouble());
|
| LOperand* left = UseFixedDouble(instr->left(), f2);
|
| - LOperand* right = exponent_type.IsDouble() ?
|
| - UseFixedDouble(instr->right(), f4) :
|
| - UseFixed(instr->right(), a2);
|
| + LOperand* right =
|
| + exponent_type.IsDouble()
|
| + ? UseFixedDouble(instr->right(), f4)
|
| + : UseFixed(instr->right(), MathPowTaggedDescriptor::exponent());
|
| LPower* result = new(zone()) LPower(left, right);
|
| return MarkAsCall(DefineFixedDouble(result, f0),
|
| instr,
|
|
|