blob: a0668d00b51a53f8c43337e2473a601ac33a892c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| skip-if: !('oomTest' in this)
// Don't run a full oomTest because it takes ages - a few iterations are
// sufficient to trigger the bug.
let i = 0;
oomTest(Function(`
if (i < 10) {
i++;
gczeal(15,1);
foo;
}
`));
|