summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1845248.js
blob: b1ae5975365e5c6cb59b4f60535e08b5bff0f77b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
for (let v1 = 0; v1 < 10; v1++) { }

for (let v5 = 0; v5 < 5; v5++) {
    function f6(a7, a8, a9, a10) {
        try { a8(a10, a9); } catch (e) {}
        try { new a8(v5, a9, v5, a8); } catch (e) {}
        gc();

        const o15 = {
            __proto__: a7,
        };

        for (let v20 = 0; v20 < 150; v20++) { }
    }
    f6(f6, f6, f6);
}