MCPcopy Index your code
hub / github.com/nodejs/node / addArray

Method addArray

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:1565–1570  ·  view source on GitHub ↗
(type, mutability, supertype_idx = kNoSuperType, is_final = false,
           is_shared = false)

Source from the content-addressed store, hash-verified

1563 }
1564
1565 addArray(type, mutability, supertype_idx = kNoSuperType, is_final = false,
1566 is_shared = false) {
1567 this.types.push(
1568 new WasmArray(type, mutability, is_final, is_shared, supertype_idx));
1569 return this.types.length - 1;
1570 }
1571
1572 addCont(type) {
1573 let type_index = (typeof type) == 'number' ? type : this.addType(type);

Callers 15

instantiateWasmFunction · 0.95
instantiateWasmFunction · 0.95
CreateWasmObjectsFunction · 0.95
MakeBuilderFunction · 0.95
MakeBuilderFunction · 0.95
createWasmModuleFunction · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected