blob: bb8940eae63aa28f62eb5fb37ff2777afcbb4549 (
plain)
1
2
3
4
5
6
7
8
9
|
// |jit-test| skip-if: 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 });
});
|