Debian Codegraph @

js/src/jit-test/tests/auto-regress/bug1468629.js

raw
1 function lfEvalInCache(lfCode, lfIncremental = false, lfRunOnce = false) {
2 let ctx = {};
3 let code = cacheEntry(lfCode);
4 ctx_save = Object.create(ctx, { saveBytecodeWithDelazifications: { value: true } });
5 try { evaluate(code, ctx_save); } catch(exc) {}
6 try { evaluate(code, Object.create(ctx_save, { loadBytecode: { value: true } })); } catch(exc) {}
7 }
8 lfEvalInCache(`
9 function q() {}
10 Object.freeze(this);
11 `, false, true);