summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/bug767234.js
blob: 71844b2f196d8312d43594a9c8780b1ea29f7884 (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();