summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/xdr/incremental-oom.js
blob: a0e1cdb0a0c485f4eeed66d33ee0684e8e485f70 (plain)
1
2
3
4
5
6
7
8
// Delazify a function while encoding bytecode.
oomTest(() => {
        let code = cacheEntry(`
                function f() { }
                f();
        `);
        evaluate(code, { saveIncrementalBytecode: true });
});