Index: src/ia32/lithium-ia32.cc |
diff --git a/src/ia32/lithium-ia32.cc b/src/ia32/lithium-ia32.cc |
index 6db041319d86f125b119209c226daf0687b402de..758701652049b7251446d473ef4064c741e2fca5 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, |