Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 9fb8307983d2d4e6b894ac4873f751228b1dc8ef..6e35237680b24a1df9903588b26c0f1c2a1d0b70 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1216,9 +1216,11 @@ LInstruction* LChunkBuilder::DoMathAbs(HUnaryMathOperation* instr) { |
LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) { |
- LOperand* input = UseFixedDouble(instr->value(), xmm1); |
+ ASSERT(instr->representation().IsDouble()); |
+ ASSERT(instr->value()->representation().IsDouble()); |
+ LOperand* input = UseRegisterAtStart(instr->value()); |
LMathLog* result = new(zone()) LMathLog(input); |
- return MarkAsCall(DefineFixedDouble(result, xmm1), instr); |
+ return DefineSameAsFirst(result); |
} |