summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/gc/bug-1223021.js
blob: 702da52d9527cbd6aa2ced4c0a7b9ea80283a80b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
if (!('oomTest' in this))
    quit();

function f() {
    return this === null;
};

function g() {
    if (!f.apply(9)) {}
}

oomTest(g);