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

Method endRecGroup

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

Source from the content-addressed store, hash-verified

1839 }
1840
1841 endRecGroup() {
1842 if (this.rec_groups.length == 0) {
1843 throw new Error("Did not start a recursive group before ending one")
1844 }
1845 let last_element = this.rec_groups[this.rec_groups.length - 1]
1846 if (last_element.size != 0) {
1847 throw new Error("Did not start a recursive group before ending one")
1848 }
1849 last_element.size = this.types.length - last_element.start;
1850 }
1851
1852 setName(name) {
1853 this.name = name;

Callers 15

instantiateWasmFunction · 0.95
instantiateWasmFunction · 0.95
MakeBuilderFunction · 0.95
MakeBuilderFunction · 0.95
TestFunction · 0.95
BuildFunction · 0.95
call-ref.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected