Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index 19bb58ae645088b62c668dfb7768f01ff912b919..79ca5f59e7f663e9f06af2eadf10dd80eae314a1 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); |