summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1240503.js
blob: 0cc7cabe076578dd5561497bc3700a653a7ad341 (plain)
1
2
3
4
5
6
7
8
if (!('oomTest' in this))
  quit();

function arrayProtoOutOfRange() {
    for (let [] = () => r, get;;)
        var r = f(i % 2 ? a : b);
}
oomTest(arrayProtoOutOfRange);