bug1186973.js (407B)
1 // |jit-test| error: cache does not have the same size; skip-if: isLcovEnabled() 2 3 4 load(libdir + 'bytecode-cache.js'); 5 6 var test = (function () { 7 function f(x) { 8 function ifTrue() {}; 9 function ifFalse() {}; 10 11 if (generation % 2 == 0) 12 return ifTrue(); 13 return ifFalse(); 14 } 15 return f.toString() + "; f()"; 16 })(); 17 evalWithCache(test, { assertEqBytecode: true, assertEqResult : true });