js/src/jit-test/tests/auto-regress/bug528048.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug528048.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +// Binary: cache/js-dbg-32-761988dd0d81-linux
     1.5 +// Flags: -j
     1.6 +//
     1.7 +for (j = 0; j < 3; j++) {}
     1.8 +m = [];
     1.9 +m.concat();
    1.10 +n = [];
    1.11 +n.concat([]);
    1.12 +Function("\
    1.13 +  for (i = 0; i < 8; i++)\
    1.14 +  ((function f1(b, c) {\
    1.15 +  if (c) {\
    1.16 +    return (gc)()\
    1.17 +  }\
    1.18 +  f1(b, 1);\
    1.19 +  ((function f2(d, e) {\
    1.20 +    return d.length == e ? 0 : d[e] + f2(d, e + 1)\
    1.21 +  })([{}, /x/, /x/], 0))\
    1.22 +  })())\
    1.23 +")()

mercurial