Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 5fc069b0e057b140d91b11a8013efe4724f9b6d8..464d0a9b1d9a50069ec2578e8124eb00145104b7 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -3755,7 +3755,7 @@ void LCodeGen::DoMathRound(LUnaryMathOperation* instr) { |
CpuFeatures::Scope scope(SSE4_1); |
__ addsd(xmm_scratch, input_reg); |
- __ roundsd(xmm_scratch, input_reg, Assembler::kRoundDown); |
+ __ roundsd(xmm_scratch, xmm_scratch, Assembler::kRoundDown); |
__ cvttsd2si(output_reg, Operand(xmm_scratch)); |
// Overflow is signalled with minint. |
__ cmp(output_reg, 0x80000000u); |