Source code
Revision control
Copy as Markdown
Other Tools
// |jit-test| skip-if: helperThreadCount() === 0
evalInWorker(`
var code = "(module ";
for (var i = 0; i < 100; i++)
code += "(func (param i32) (result i32) (i32.add (i32.const 1) (local.get 0))) ";
code += ")";
var buf = wasmTextToBinary(code);
WebAssembly.compile(buf);
`);