Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 94e992f04f956d3b026b6eb169df92d21f0ab305..2b6c6016d799df65485f43eb2a4fbc6c5b4a2890 100644 |
--- a/src/ia32/lithium-ia32.cc |
+++ b/src/ia32/lithium-ia32.cc |
@@ -1195,7 +1195,7 @@ LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) { |
LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(context, |
input); |
return DefineSameAsFirst(result); |
- } else if (op == kMathSin || op == kMathCos) { |
+ } else if (op == kMathSin || op == kMathCos || op == kMathTan) { |
LOperand* context = UseFixed(instr->context(), esi); |
LOperand* input = UseFixedDouble(instr->value(), xmm1); |
LUnaryMathOperation* result = new(zone()) LUnaryMathOperation(context, |