| Index: test/mjsunit/smi-ops.js
|
| diff --git a/test/mjsunit/smi-ops.js b/test/mjsunit/smi-ops.js
|
| index 8fa6fec60a2d2c889784f446dd7bc0c39f2a27b2..7945855f39c1f8b6181ce48e5fa4091084c3182d 100644
|
| --- a/test/mjsunit/smi-ops.js
|
| +++ b/test/mjsunit/smi-ops.js
|
| @@ -699,3 +699,6 @@ assertEquals(24, LeftShiftThreeBy(-29));
|
| // allocations we got the Smi overflow case wrong.
|
| function f(x, y) { return y + ( 1 << (x & 31)); }
|
| assertEquals(-2147483647, f(31, 1));
|
| +
|
| +// Regression test for correct handling of overflow in smi comparison.
|
| +assertTrue(-0x40000000 < 42);
|
|
|