| Index: src/ia32/code-stubs-ia32.cc
|
| diff --git a/src/ia32/code-stubs-ia32.cc b/src/ia32/code-stubs-ia32.cc
|
| index 783b97d8ad546fc72565b2d8c6967220bb049fa8..92d24ba6cc88106b409a907762a154fb6e32531e 100644
|
| --- a/src/ia32/code-stubs-ia32.cc
|
| +++ b/src/ia32/code-stubs-ia32.cc
|
| @@ -2872,7 +2872,8 @@ void FloatingPointHelper::CheckSSE2OperandIsInt32(MacroAssembler* masm,
|
| __ cvtsi2sd(xmm_scratch, scratch);
|
| __ pcmpeqd(xmm_scratch, operand);
|
| __ movmskps(scratch, xmm_scratch);
|
| - __ neg(scratch);
|
| + // Two least significant bits should be both set.
|
| + __ not_(scratch);
|
| __ test(scratch, Immediate(3));
|
| __ j(not_zero, non_int32);
|
| }
|
|
|