summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/warp/bug1683535-2.js
blob: 25317b1d8dd9fdba232ed0bac08420e302ff77dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function foo(y) {
    return (1 >>> y >> 12) % 1.5 >>> 0
}
function bar(y) {
    return (1 >>> y >> 12) / 1.5 >>> 0
}

with ({}) {}
for (var i = 0; i < 100; i++) {
    foo(1);
    bar(1);
}