Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 1ca008cb0f0136ac7419fe20cbd15b7125a43256..155ef6309cb4fc1d82c1cfee325f3a29275286b6 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1201,9 +1201,10 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) { |
LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) { |
+ ASSERT(instr->representation().IsDouble()); |
+ ASSERT(instr->value()->representation().IsDouble()); |
LOperand* input = UseFixedDouble(instr->value(), f4); |
- LMathLog* result = new(zone()) LMathLog(input); |
- return MarkAsCall(DefineFixedDouble(result, f4), instr); |
+ return MarkAsCall(DefineFixedDouble(new(zone()) LMathLog(input), f4), instr); |
} |