summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1107011-1.js
blob: 458d7dd12aaf529efec8d0f290c53a3e6c15d929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
var f32 = new Float32Array(32);
function f(n) {
    var x;
    if (n > 10000) {
        x = 4.5;
    } else {
        x = f32[0];
    }
    f32[0] = (function() {
        for(var f=0;f<4;++f) {
            x=1;
        }
    })() < x;
}
for (var n = 0; n < 100; n++)
    f(n);