summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/inlining/bug705251.js
blob: 19f639d7aacba61c908cb849b205ed04736afebe (plain)
1
2
3
4
5
6
7
8
9
10
function bitsinbyte() {
    var c = 0;
    while (false) c = c * 2;
}
function TimeFunc(func) {
    for(var y=0; y<11000; y++)
        func();
}
for (var i=0; i<50; i++)
    TimeFunc(bitsinbyte);