Home
last modified time | relevance | path

Searched refs:assertTraps (Results 1 – 4 of 4) sorted by relevance

/external/v8/test/mjsunit/wasm/
Ddivrem-trap.js9 function assertTraps(code, msg) { function
71 assertTraps(kTrapDivByZero, "divs(100, 0);");
72 assertTraps(kTrapDivByZero, "divs(-1009, 0);");
74 assertTraps(kTrapDivByZero, "divu(200, 0);");
75 assertTraps(kTrapDivByZero, "divu(-2009, 0);");
77 assertTraps(kTrapDivUnrepresentable, "divs(0x80000000, -1)");
90 assertTraps(kTrapRemByZero, "rems(100, 0);");
91 assertTraps(kTrapRemByZero, "rems(-1009, 0);");
93 assertTraps(kTrapRemByZero, "remu(200, 0);");
94 assertTraps(kTrapRemByZero, "remu(-2009, 0);");
Dindirect-calls.js72 assertTraps(kTrapFuncSigMismatch, "module.main(2, 12, 33)");
73 assertTraps(kTrapFuncInvalid, "module.main(3, 12, 33)");
Dmodule-memory.js176 assertTraps(kTrapMemOutOfBounds, read);
177 assertTraps(kTrapMemOutOfBounds, write);
Dwasm-constants.js232 function assertTraps(trap, code) { function