| Index: src/x64/lithium-x64.cc
|
| diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc
|
| index 8cddb364c5c6fe855374adf0ab7c955ed2a25ee3..bba4ffcebbdcc95c2af760c76e5c39b026aa5c96 100644
|
| --- a/src/x64/lithium-x64.cc
|
| +++ b/src/x64/lithium-x64.cc
|
| @@ -1163,7 +1163,7 @@ LInstruction* LChunkBuilder::DoInvokeFunction(HInvokeFunction* instr) {
|
|
|
| LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) {
|
| BuiltinFunctionId op = instr->op();
|
| - if (op == kMathLog || op == kMathSin || op == kMathCos) {
|
| + if (op == kMathLog || op == kMathSin || op == kMathCos || op == kMathTan) {
|
| LOperand* input = UseFixedDouble(instr->value(), xmm1);
|
| LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input);
|
| return MarkAsCall(DefineFixedDouble(result, xmm1), instr);
|
|
|