summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug767234.js
blob: 0c073d1116d5c63069d79dccffa6c1d4622325be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function gen()
{
    var local = new Date();
    yield 1;
    local = null;
    gc();
    gcslice(0); // Start IGC, but don't mark anything.
    yield 2;
}

var g = gen();
g.next();
g.next();
gcslice();