summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug892291.js
blob: 9e0ae9761085111e2b740c80f263b73ed13cfd0d (plain)
1
2
3
4
5
6
7
8
9
10
function a(stdlib) {
  "use asm";
  var imul = stdlib.Math.imul;
  function f() {
    return ((imul(-800, 0xf8ba1243)|0) % -1)|0;
  }
  return f;
}
var f = a(this);
assertEq(f(), 0);