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

Function exportTable64Copy

deps/v8/test/mjsunit/wasm/table64-copy.js:17–27  ·  view source on GitHub ↗
(builder, table_dst, table_src)

Source from the content-addressed store, hash-verified

15}
16
17function exportTable64Copy(builder, table_dst, table_src) {
18 const kSig_v_lll = makeSig([kWasmI64, kWasmI64, kWasmI64], []);
19 builder.addFunction('table64_copy', kSig_v_lll)
20 .addBody([
21 kExprLocalGet, 0,
22 kExprLocalGet, 1,
23 kExprLocalGet, 2,
24 kNumericPrefix, kExprTableCopy, table_dst.index, table_src.index
25 ])
26 .exportFunc();
27}
28
29function exportTable64FillExternRef(builder, table) {
30 let kSig_v_lrl = makeSig([kWasmI64, kWasmExternRef, kWasmI64], []);

Callers 1

table64-copy.jsFile · 0.85

Calls 4

makeSigFunction · 0.70
exportFuncMethod · 0.45
addBodyMethod · 0.45
addFunctionMethod · 0.45

Tested by

no test coverage detected