summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/xdr/stencil-oom.js
blob: 70b4398f2138ab6b4b4ddc984dcc138506431f2e (plain)
1
2
3
4
5
6
7
8
9
10
const sa = `
function f(x, y) { return x + y }
let a = 10, b = 20;
f(a, b);
`;

oomTest(() => {
    let stencil = compileToStencilXDR(sa);
    evalStencilXDR(stencil);
});