Index: src/ia32/lithium-ia32.cc |
=================================================================== |
--- src/ia32/lithium-ia32.cc (revision 6082) |
+++ src/ia32/lithium-ia32.cc (working copy) |
@@ -1361,7 +1361,7 @@ |
LInstruction* LChunkBuilder::DoUnaryMathOperation(HUnaryMathOperation* instr) { |
BuiltinFunctionId op = instr->op(); |
- if (op == kMathLog) { |
+ if (op == kMathLog || op == kMathSin || op == kMathCos) { |
LOperand* input = UseFixedDouble(instr->value(), xmm1); |
LInstruction* result = new LUnaryMathOperation(input); |
return MarkAsCall(DefineFixedDouble(result, xmm1), instr); |