summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1328251.js
blob: fe8b962d5242dcf8820332e8705dc573b3068638 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if (helperThreadCount() == 0)
    quit();

evalInWorker(`
    if (!('gczeal' in this))
        quit();
    gczeal(2);
    for (let i = 0; i < 30; i++) {
        var a = [1, 2, 3];
        a.indexOf(1);
        relazifyFunctions(); }
`);