Searched refs:assertTraps (Results 1 – 4 of 4) sorted by relevance
/external/v8/test/mjsunit/wasm/ |
D | divrem-trap.js | 9 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);");
|
D | indirect-calls.js | 72 assertTraps(kTrapFuncSigMismatch, "module.main(2, 12, 33)"); 73 assertTraps(kTrapFuncInvalid, "module.main(3, 12, 33)");
|
D | module-memory.js | 176 assertTraps(kTrapMemOutOfBounds, read); 177 assertTraps(kTrapMemOutOfBounds, write);
|
D | wasm-constants.js | 232 function assertTraps(trap, code) { function
|