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

Method addCont

deps/v8/test/mjsunit/wasm/wasm-module-builder.js:1572–1576  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

1570 }
1571
1572 addCont(type) {
1573 let type_index = (typeof type) == 'number' ? type : this.addType(type);
1574 this.types.push(new WasmCont(type_index));
1575 return this.types.length - 1;
1576 }
1577
1578
1579 nextTypeIndex() { return this.types.length; }

Callers 6

resume-throw.jsFile · 0.80
cont-bind.jsFile · 0.80
stack-switching.jsFile · 0.80

Calls 2

addTypeMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected