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

Function multiModuleTrap

deps/v8/test/mjsunit/wasm/wasm-gc-inlining.js:288–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

286 let i = 0;
287 let multiModuleTrap =
288 () => ++i % 2 == 0 ? moduleA.get(structB) : moduleB.get(structA);
289 testOptimized(() => assertTraps(kTrapIllegalCast, () => multiModuleTrap()),
290 multiModuleTrap);
291})();

Callers 1

Calls 1

getMethod · 0.65

Tested by

no test coverage detected