summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/baseline/bug1416727.js
blob: a407da740d1cb7a691db29bda5ce41daa8c02fda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// |jit-test| allow-overrecursed
g = newGlobal({newCompartment: true})
g.parent = this
g.eval("new Debugger(parent).onExceptionUnwind = function(){}");
var depth = 0;
function test() {
    if (++depth > 50)
        return;
    function f(n) {
        if (n != 0) {
            f(n - 1);
            return;
        }
        try {
            test();
        } finally {}
    }
    f(80);
}
test();