js/src/jit-test/tests/ion/bug831087.js

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:1623f8a8354d
1 function isNegZero(x) {
2 return x===0 && (1/x)===-Infinity;
3 }
4
5 try {
6 for (y = 0; y < 1; y++) {
7 x = y;
8 }
9 } catch (e) {}
10
11 function f() {
12 (x /= -9)
13 }
14 f()
15 assertEq(isNegZero(this.x), true);

mercurial