Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
wasm-gc-inlining.js
File · 0.85
Calls
1
get
Method · 0.65
Tested by
no test coverage detected