summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug847425.js
blob: 448abceafaaa05713c66c31279811244f95f144c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// |jit-test| allow-oom; allow-unhandlable-oom
gcparam("maxBytes", gcparam("gcBytes") + 4*1024);
var max = 400;
function f(b) {
    if (b) {
        f(b - 1);
    } else {
        g = {
            apply:function(x,y) {            }
        };
    }
    g.apply(null, arguments);
}
f(max - 1);