summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug677871.js
blob: d56206948cfd9f3080b755de3ea427672318d425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
function f0(p0,p1,p2,p3,p4,p5,p6) {
    var v0;
    var v1;
    if (v1) {
        do {
            v0 = v0 + p3;
            v1 = p3 + p3 + v1 + v0;
            if (v1) {
                v0 = v0 + p1 + p4 + p2 + p0 + v1;
                continue;
            }
            break;
        } while (v0);
    }
    v0 + v1;
}
assertEq(f0(1,2,3,4,5,6), undefined);