force-full-parse.js (324B)
1 load(libdir + 'bytecode-cache.js'); 2 3 var test = ` 4 function f() { 5 function f1() { 6 return 1; 7 } 8 function f2() { 9 return 20; 10 } 11 return f1() + f2(); 12 } 13 function g() { 14 return 300; 15 } 16 f() + g(); 17 `; 18 evalWithCache(test, { assertEqBytecode: true, assertEqResult : true, 19 forceFullParse: true, });