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

Method addBody

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

Source from the content-addressed store, hash-verified

1275 }
1276
1277 addBody(body) {
1278 checkExpr(body);
1279 // Store a copy of the body, and automatically add the end opcode.
1280 this.body = body.concat([kExprEnd]);
1281 return this;
1282 }
1283
1284 addBodyWithEnd(body) {
1285 this.body = body;

Callers

nothing calls this directly

Calls 2

concatMethod · 0.80
checkExprFunction · 0.70

Tested by

no test coverage detected