Searched refs:assertTraps (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/mjsunit/wasm/ |
D | divrem-trap.js | 10 function assertTraps(code, msg) { function 56 assertTraps(kTrapDivByZero, "divs(100, 0);"); 57 assertTraps(kTrapDivByZero, "divs(-1009, 0);"); 59 assertTraps(kTrapDivByZero, "divu(200, 0);"); 60 assertTraps(kTrapDivByZero, "divu(-2009, 0);"); 62 assertTraps(kTrapDivUnrepresentable, "divs(0x80000000, -1)"); 75 assertTraps(kTrapRemByZero, "rems(100, 0);"); 76 assertTraps(kTrapRemByZero, "rems(-1009, 0);"); 78 assertTraps(kTrapRemByZero, "remu(200, 0);"); 79 assertTraps(kTrapRemByZero, "remu(-2009, 0);");
|
D | default-func-call.js | 51 assertTraps(kTrapFuncSigMismatch, "module.exports.main(2, 12, 33)"); 52 assertTraps(kTrapFuncSigMismatch, "module.exports.main(4, 12, 33)"); 53 assertTraps(kTrapFuncSigMismatch, "module.exports.main(511, 12, 33)"); 54 assertTraps(kTrapFuncInvalid, "module.exports.main(512, 12, 33)"); 55 assertTraps(kTrapFuncInvalid, "module.exports.main(1025, 12, 33)"); 56 assertTraps(kTrapFuncInvalid, "module.exports.main(-1, 12, 33)");
|
D | indirect-calls.js | 48 assertTraps(kTrapFuncSigMismatch, "module.exports.main(2, 12, 33)"); 49 assertTraps(kTrapFuncInvalid, "module.exports.main(3, 12, 33)");
|
D | module-memory.js | 153 assertTraps(kTrapMemOutOfBounds, read); 154 assertTraps(kTrapMemOutOfBounds, write);
|
D | wasm-constants.js | 327 function assertTraps(trap, code) { function
|