summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1791363.js
blob: 52d25db895170e84b03223757037277cfadc4585 (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();