| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 05b15355d69f1efa65b9dceae0267666262b4e1d..7b97cb889e6619a4b3cf13cfcf1e4f828f96d8f4 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1691,9 +1691,10 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
| Representation exponent_type = instr->right()->representation();
|
| DCHECK(instr->left()->representation().IsDouble());
|
| LOperand* left = UseFixedDouble(instr->left(), d0);
|
| - LOperand* right = exponent_type.IsDouble() ?
|
| - UseFixedDouble(instr->right(), d1) :
|
| - UseFixed(instr->right(), r2);
|
| + LOperand* right =
|
| + exponent_type.IsDouble()
|
| + ? UseFixedDouble(instr->right(), d1)
|
| + : UseFixed(instr->right(), MathPowTaggedDescriptor::exponent());
|
| LPower* result = new(zone()) LPower(left, right);
|
| return MarkAsCall(DefineFixedDouble(result, d2),
|
| instr,
|
|
|