js/src/jit-test/tests/basic/testBug579646.js

branch
TOR_BUG_3246
changeset 7
129ffea94266
equal deleted inserted replaced
-1:000000000000 0:7151f4d26465
1 if (typeof gczeal != "function")
2 gczeal = function() {}
3
4 for (a = 0; a < 9; a++)
5 for (b = 0; b < 1; b++)
6 for (c = 0; c < 2; c++)
7 gczeal();
8
9 for each(e in [NaN])
10 for (d = 0; d < 1; d++)
11 z = 0;
12
13 for (w in [0, 0])
14 {}
15
16 x = 0;
17
18 for (e = 0; e < 3; e++)
19 for (f = 0; f < 4; f++)
20 x = -x
21
22 // don't crash

mercurial