blob: f67b6d27b85790855e80d5c1b09e759d8fd11eae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// |jit-test| skip-if: typeof evalInCooperativeThread === 'undefined'
try {
evalInCooperativeThread(`
var { f } = new WebAssembly.Instance(new WebAssembly.Module(wasmTextToBinary(\`
(module
(func $f (export "f") call $f)
)
\`))).exports;
gczeal(9);
f();
`);
} catch(e) {}
|