1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// |jit-test| skip-if: !('oomTest' in this) function parseAsmJS() { eval(`function m(stdlib) { "use asm"; var abs = stdlib.Math.abs; function f(d) { d = +d; return (~~(5.0 - +abs(d)))|0; } return f; }`); } oomTest(parseAsmJS);