Debian Codegraph @

js/src/jit-test/tests/wasm/regress/bug1713581.js

raw
1 function wasmEvalText(str, imports, options) {
2 let binary = wasmTextToBinary(str);
3 m = new WebAssembly.Module(binary, options);
4 return new WebAssembly.Instance(m, imports);
5 }
6 let ins = wasmEvalText(`
7 (module
8 (func (export "fill0") (param $r externref))
9 )
10 `);
11 for (let i53 = 0; i53 < 1000; i53++) {
12 ins.exports.fill0("hello")
13 }