Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 3109e4a2804f63b0d8e6a104573173b4b6267b98..6b910233bcb63e98e9bbe49e306c613f46a0e461 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1640,9 +1640,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, |