Debian Codegraph @

js/src/jit-test/tests/wasm/exceptions/oom-create-exception-data.js

raw
1 const tag = new WebAssembly.Tag({ parameters: ["i32", "i32", "i32", "i32"] });
2 const params = [0, 0, 0, 0];
3 oomTest(() => {
4 for (var i = 0; i < 5; ++i) {
5 new WebAssembly.Exception(tag, params);
6 }
7 });