Debian Codegraph @

js/src/jit-test/tests/gc/oomInParseAsmJS.js

raw
1 function parseAsmJS() {
2 eval(`function m(stdlib)
3 {
4 "use asm";
5 var abs = stdlib.Math.abs;
6 function f(d)
7 {
8 d = +d;
9 return (~~(5.0 - +abs(d)))|0;
10 }
11 return f;
12 }`);
13 }
14 oomTest(parseAsmJS);