MCPcopy Create free account
hub / github.com/nodejs/node / growTableByOne

Function growTableByOne

deps/v8/test/mjsunit/wasm/table-grow.js:100–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98 var table = new WebAssembly.Table({element: "anyfunc",
99 initial: 0, maximum:kMaxTableSize});
100 function growTableByOne() {
101 table.grow(1);
102 table.set(table.length - 1, id);
103 }
104 let instance1 = new WebAssembly.Instance(module, {imp: {table:table}});
105 testBounds(instance1.exports.main, table);
106

Callers 1

table-grow.jsFile · 0.85

Calls 1

setMethod · 0.45

Tested by

no test coverage detected