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

Function exportTable64Setter

deps/v8/test/mjsunit/wasm/table64-set.js:17–25  ·  view source on GitHub ↗
(builder, table, type)

Source from the content-addressed store, hash-verified

15}
16
17function exportTable64Setter(builder, table, type) {
18 const table64_set_sig = makeSig([kWasmI64, type], []);
19 builder.addFunction('table64_set', table64_set_sig)
20 .addBody(
21 [kExprLocalGet, 0,
22 kExprLocalGet, 1,
23 kExprTableSet, table.index])
24 .exportFunc();
25}
26
27(function TestTable64SetFuncRef() {
28 print(arguments.callee.name);

Callers 1

table64-set.jsFile · 0.85

Calls 4

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

Tested by

no test coverage detected