summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/auto-regress/bug790921.js
blob: afe8803f074131e56ba5b2c5c49e0d1eba9701f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| slow; allow-unhandlable-oom
// Binary: cache/js-dbg-64-fdfaef738a00-linux
// Flags: --ion-eager
//

evaluate("\
gcparam(\"maxBytes\", gcparam(\"gcBytes\") + 4 );\n\
test();\n\
function test() {\n\
  function flatten(arr)\n\
  { return actual = flatten([1, [2], 3]); }\
}\n\
");
try {} catch (lfVare) {}