summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1766648-markQueue.js
blob: bd5cb693e2652a03001938e9a3f30d5f54faa886 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if (this.enqueueMark) {
    enqueueMark('set-color-gray');
    enqueueMark('set-color-black');
    enqueueMark(newGlobal());
    enqueueMark('set-color-gray');
    enqueueMark('set-color-black');
    enqueueMark(newGlobal());
    enqueueMark('set-color-gray');
    enqueueMark('set-color-black');
    enqueueMark(newGlobal());
    gc();
}