Debian Codegraph @

js/src/jit-test/tests/ion/muli-constant-1-bug1534810.js

raw
1 function f() {}
2 function g(x) {
3 var a = 0, b = NaN, c = 1, d = 0, e = 0;
4 a = (x >> 0);
5 b = f();
6 b = +b;
7 c = Math.round(1);
8 d = Math.imul(b, c);
9 e = e + a;
10 e = e + d;
11 return e;
12 }
13 for (let i = 0; i < 2; ++i) {
14 assertEq(g(), 0);
15 }