summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/profiler/bug1242840.js
blob: 4c2f72024f1f499809473683263ba0da3364dce5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
enableGeckoProfiling();
oomTest(() => {
    try {
        for (quit of ArrayBuffer);
    } catch (e) {
        switch (1) {
            case 0:
                let x
            case 1:
                (function() { return x; })()
        }
    }
})