blob: bb92bb43f5cfc8458c3946a6f93de53955b192d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
let runCount = 0;
oomTest(() => {
if (runCount < 5) {
let lfGlobal = newGlobal();
var lfVarx = `
gczeal(8, 1);
try {
(5).replace(r, () => {});
} catch (x) {}
gczeal(0);
`;
lfGlobal.offThreadCompileToStencil(lfVarx);
var stencil = lfGlobal.finishOffThreadStencil();
lfGlobal.evalStencil(stencil);
runCount++;
}
});
|