| Index: src/arm/lithium-arm.cc
|
| diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc
|
| index 5a1d55e791c8f5a62ff414bf63036cdaa2c8cbd5..e2b29df02fcf036e75afc1d501ba160e089a72ef 100644
|
| --- a/src/arm/lithium-arm.cc
|
| +++ b/src/arm/lithium-arm.cc
|
| @@ -1224,9 +1224,10 @@ LInstruction* LChunkBuilder::DoMathAbs(HUnaryMathOperation* instr) {
|
|
|
|
|
| LInstruction* LChunkBuilder::DoMathLog(HUnaryMathOperation* instr) {
|
| - LOperand* input = UseFixedDouble(instr->value(), d2);
|
| - LMathLog* result = new(zone()) LMathLog(input);
|
| - return MarkAsCall(DefineFixedDouble(result, d2), instr);
|
| + ASSERT(instr->representation().IsDouble());
|
| + ASSERT(instr->value()->representation().IsDouble());
|
| + LOperand* input = UseFixedDouble(instr->value(), d0);
|
| + return MarkAsCall(DefineFixedDouble(new(zone()) LMathLog(input), d0), instr);
|
| }
|
|
|
|
|
|
|