Debian Codegraph @

js/src/jit-test/tests/wasm/worker-kill.js

raw
1 // |jit-test| skip-if: helperThreadCount() === 0
2
3 evalInWorker(`
4 var code = "(module ";
5 for (var i = 0; i < 100; i++)
6 code += "(func (param i32) (result i32) (i32.add (i32.const 1) (local.get 0))) ";
7 code += ")";
8 var buf = wasmTextToBinary(code);
9 WebAssembly.compile(buf);
10 `);