summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/try-catch-7.js
blob: 4a36d5de2d10e5ca853cbcd36d271bc038fd2ff1 (plain)
1
2
3
4
5
6
7
8
9
10
// The second for-loop is only reachable via the catch block, which Ion
// does not compile.
for (;;) {
    try {
        throw 3;
    } catch(e) {
        break;
    }
}
for (var i = 0; i < 15; i++) {}