summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/try-catch-7.js
blob: ed07cfe7e16db074131be40e15360101c6fccf86 (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 < 1500; i++) {}