summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1791363.js
blob: 802467958247937304aeaf0811d06a5d8d112861 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// |jit-test| allow-unhandlable-oom; skip-if: (getBuildConfiguration("android") && getBuildConfiguration("debug"))

gczeal(0);
if (!this.enqueueMark) {
  quit();
}

enqueueMark('set-color-gray');
enqueueMark(newGlobal());
enqueueMark('set-color-black');
enqueueMark(newGlobal());
setMarkStackLimit(1);
gc();