summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug528048.js
blob: f162e5fdafaef1e6776c2d8206b01b137898fd5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Binary: cache/js-dbg-32-761988dd0d81-linux
// Flags: -j
//
for (j = 0; j < 3; j++) {}
m = [];
m.concat();
n = [];
n.concat([]);
Function("\
  for (i = 0; i < 8; i++)\
  ((function f1(b, c) {\
  if (c) {\
    return (gc)()\
  }\
  f1(b, 1);\
  ((function f2(d, e) {\
    return d.length == e ? 0 : d[e] + f2(d, e + 1)\
  })([{}, /x/, /x/], 0))\
  })())\
")()