MCPcopy Index your code
hub / github.com/nodejs/node / assertTraps

Function assertTraps

deps/v8/test/mjsunit/wasm/divrem-trap.js:9–11  ·  view source on GitHub ↗
(messageId, code)

Source from the content-addressed store, hash-verified

7d8.file.execute("test/mjsunit/wasm/wasm-module-builder.js");
8
9var assertTraps = function(messageId, code) {
10 assertThrows(code, WebAssembly.RuntimeError, kTrapMsgs[messageId]);
11}
12
13
14function makeBinop(opcode) {

Callers 15

table64-set.jsFile · 0.70
call_indirect.jsFile · 0.70
gc-casts-exnref.jsFile · 0.70
table-fill.jsFile · 0.70
checkAnyFuncTableFunction · 0.70
TestStackTraceFunction · 0.70

Calls 1

assertThrowsFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…