Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index 2607522424dbc32440098437daa74f6a31e948ab..22a1783b0e7c7761d41d4aacbc8a513965bc240d 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1169,7 +1169,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(), f4); |
LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(input, NULL); |
return MarkAsCall(DefineFixedDouble(result, f4), instr); |