Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index ecb490de5e70707b5db5fff40a940b0f26ccb34c..18b0e2e9eec5a5f466b1b64ae938e8c40043b7c8 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1446,9 +1446,9 @@ LInstruction* LChunkBuilder::DoPower(HPower* instr) { |
// We need to use fixed result register for the call. |
Representation exponent_type = instr->right()->representation(); |
ASSERT(instr->left()->representation().IsDouble()); |
- LOperand* left = UseFixedDouble(instr->left(), xmm1); |
+ LOperand* left = UseFixedDouble(instr->left(), xmm2); |
LOperand* right = exponent_type.IsDouble() ? |
- UseFixedDouble(instr->right(), xmm2) : |
+ UseFixedDouble(instr->right(), xmm1) : |
UseFixed(instr->right(), eax); |
LPower* result = new(zone()) LPower(left, right); |
return MarkAsCall(DefineFixedDouble(result, xmm3), instr, |