blob: 4e34a0a762637f1d4d928fe52c894c00849ebdf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// |jit-test| allow-oom; allow-unhandlable-oom
// 1236476
if (typeof oomTest !== 'function' ||
typeof offThreadCompileToStencil !== 'function' ||
typeof finishOffThreadStencil !== 'function' ||
typeof evalStencil !== 'function')
quit();
oomTest(() => {
offThreadCompileToStencil(`
"use asm";
return assertEq;
`);
var stencil = finishOffThreadStencil();
evalStencil();
});
|