summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/asm.js/testBug893364.js
blob: 8a0eadd35f755679ffd012001614a690be1bde58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function m()
{
    "use asm";
    function f()
    {
        var x = 0;
        var y = 0;
        x = (((0x77777777 - 0xcccccccc) | 0) % -1) | 0;
        y = (((0x7FFFFFFF + 0x7FFFFFFF) | 0) % -1) | 0;
        return (x+y)|0;
    }
    return f;
}
assertEq(m()(), 0)