Home
last modified time | relevance | path

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

/external/v8/test/mjsunit/wasm/
Ddivrem-trap.js10 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);");
Ddefault-func-call.js51 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)");
Dindirect-calls.js48 assertTraps(kTrapFuncSigMismatch, "module.exports.main(2, 12, 33)");
49 assertTraps(kTrapFuncInvalid, "module.exports.main(3, 12, 33)");
Dmodule-memory.js153 assertTraps(kTrapMemOutOfBounds, read);
154 assertTraps(kTrapMemOutOfBounds, write);
Dwasm-constants.js327 function assertTraps(trap, code) { function