summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug799185-6.js
blob: 2980cfa59686f72d723d38d3de2cb642e0b92bf1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
function f(a, b, c) {
    while (a) {
        let x;
        if (b) {
            if (c) {
                d();
                break;  // hidden LEAVEBLOCK, then GOTO
            }
            break; // another hidden LEAVEBLOCK, then GOTO
        }
    }
    null.x;
}

try {
    f();
} catch (x) {
    ;
}