Index: src/arm/lithium-arm.cc |
diff --git a/src/arm/lithium-arm.cc b/src/arm/lithium-arm.cc |
index 8654a3b866bd1c8ad48da6dd527edbc9a233f7c3..5535faaa1854b8b567c668a859f2f49c047e4172 100644 |
--- a/src/arm/lithium-arm.cc |
+++ b/src/arm/lithium-arm.cc |
@@ -1170,7 +1170,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(), d2); |
LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, NULL); |
return MarkAsCall(DefineFixedDouble(result, d2), instr); |