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

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