summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug677455.js
blob: 3d57ae22da9b92932fafc8315d46d6b9f81aa3da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
function f0(p0) {
    var v0 = 0;
    var v1;
    var v2;
    if (v1)
        v2 = v1 + v1;
    v1 | v2;
    if (v0) {
        while (p0)
            v2 = v1 + v2;
        v2 = v0;
    }
}
assertEq(f0(1), undefined);