summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug782337.js
blob: 6f956ae56eeeb29105622a7391e5a5e5b394a70b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
gc();

function recur(n)
{
    if (n == 0) {
	gcslice();
	gc();
    } else {
	recur(n-1);
    }
    var obj = new Object();
}

gcslice(1);
recur(10);