| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index 0ab6c1d09162ce29f28e7bf52b2bccf517e83a0a..b7b13867d364db65ae469f54f6b2e7e997ed851f 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1635,8 +1635,10 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) {
|
| Representation exponent_type = instr->right()->representation();
|
| DCHECK(instr->left()->representation().IsDouble());
|
| LOperand* left = UseFixedDouble(instr->left(), xmm2);
|
| - LOperand* right = exponent_type.IsDouble() ?
|
| - UseFixedDouble(instr->right(), xmm1) : UseFixed(instr->right(), rdx);
|
| + LOperand* right =
|
| + exponent_type.IsDouble()
|
| + ? UseFixedDouble(instr->right(), xmm1)
|
| + : UseFixed(instr->right(), MathPowTaggedDescriptor::exponent());
|
| LPower* result = new(zone()) LPower(left, right);
|
| return MarkAsCall(DefineFixedDouble(result, xmm3), instr,
|
| CAN_DEOPTIMIZE_EAGERLY);
|
|
|