blob: b1dbbffdfad52865ba1035caafa1ff851e69f53e (
plain)
1
2
3
4
5
6
7
8
9
|
// |jit-test| skip-if: !('oomTest' in this) || helperThreadCount() === 0
// Test main thread encode/decode OOM
oomTest(function() {
let t = cacheEntry(`function f() { function g() { }; return 3; };`);
evaluate(t, { sourceIsLazy: true, saveIncrementalBytecode: true });
evaluate(t, { sourceIsLazy: true, readBytecode: true });
});
|