summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1070638.js
blob: 23793765cf318504beffbd6b77867696f4edc957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
function m() {
    for (var j = 0; j < 99; ++j) {
        for (var k = 0; k < 99; ++k) {
            try {
                undefined()()
            } catch (e) {}
        }
    }
}
m()
m()
m()
m()
for (var j = 0; j < 99; ++j) {
    for (var k = 0; k < 99; ++k) {
        try {
            gcslice(1)()
        } catch (e) {}
    }
}