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

Function assertValidAsm

deps/v8/test/mjsunit/wasm/asm-wasm-imports.js:9–11  ·  view source on GitHub ↗
(func)

Source from the content-addressed store, hash-verified

7var stdlib = this;
8
9function assertValidAsm(func) {
10 assertTrue(%IsAsmWasmCode(func), "must be valid asm code");
11}
12
13function assertWasm(expected, func, ffi) {
14 print("Testing " + func.name + "...");

Callers 4

assertWasmFunction · 0.70
TestForeignFunctionsFunction · 0.70
TestCaseFunction · 0.70

Calls 1

assertTrueFunction · 0.50

Tested by

no test coverage detected